mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-28 10:43:38 +01:00
Add --bins flag in CI before_deploy
This commit is contained in:
parent
cf68b13322
commit
d3243903c0
@ -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
|
||||
|
@ -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:
|
||||
|
2
ci/before_deploy.bash
vendored
2
ci/before_deploy.bash
vendored
@ -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() {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user