From d3243903c0c3eb16a2c56f4646069c5ece2f2487 Mon Sep 17 00:00:00 2001 From: Fahmi Akbar Wildana Date: Sun, 6 Oct 2019 15:03:54 +0700 Subject: [PATCH] Add --bins flag in CI `before_deploy` --- README.md | 2 +- appveyor.yml | 2 +- ci/before_deploy.bash | 2 +- doc/README-ja.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index aafe5250..8000abd3 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/appveyor.yml b/appveyor.yml index 620fcd60..0e7b3b7b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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: diff --git a/ci/before_deploy.bash b/ci/before_deploy.bash index 0cbb6dc8..d5c7f5de 100755 --- a/ci/before_deploy.bash +++ b/ci/before_deploy.bash @@ -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() { diff --git a/doc/README-ja.md b/doc/README-ja.md index 6e636b3a..a8e29f4c 100644 --- a/doc/README-ja.md +++ b/doc/README-ja.md @@ -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