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)
cd bat
cargo build
cargo build --bins
# Run unit tests and integration tests
cargo test

View File

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

View File

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

View File

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