Add --bins flag in CI `before_deploy`

This commit is contained in:
Fahmi Akbar Wildana 2019-10-06 15:03:54 +07:00 committed by David Peter
parent cf68b13322
commit d3243903c0
4 changed files with 4 additions and 4 deletions

View File

@ -571,7 +571,7 @@ git clone --recursive https://github.com/sharkdp/bat
# Build (debug version) # Build (debug version)
cd bat cd bat
cargo build cargo build --bins
# Run unit tests and integration tests # Run unit tests and integration tests
cargo test cargo test

View File

@ -20,7 +20,7 @@ test_script:
before_deploy: before_deploy:
# Generate artifacts for release # Generate artifacts for release
- cargo build --release --verbose - cargo build --bins --release --verbose
- ps: ci\before_deploy.ps1 - ps: ci\before_deploy.ps1
deploy: deploy:

View File

@ -8,7 +8,7 @@ if [[ -z "$PROJECT_NAME" ]]; then
fi fi
build() { build() {
cargo build --target "$TARGET" --release --verbose cargo build --bins --target "$TARGET" --release --verbose
} }
pack() { pack() {

View File

@ -427,7 +427,7 @@ git clone --recursive https://github.com/sharkdp/bat
# Build (debug version) # Build (debug version)
cd bat cd bat
cargo build cargo build --bins
# Run unit tests and integration tests # Run unit tests and integration tests
cargo test cargo test