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)
|
# 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
|
||||||
|
@ -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:
|
||||||
|
2
ci/before_deploy.bash
vendored
2
ci/before_deploy.bash
vendored
@ -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() {
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user