From cf68b13322f4c73671d7ea55324add58059af467 Mon Sep 17 00:00:00 2001 From: Fahmi Akbar Wildana Date: Sun, 6 Oct 2019 14:21:05 +0700 Subject: [PATCH] Fix CI 'src/main.rs': No such file or directory --- appveyor.yml | 2 +- ci/script.bash | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 11a0b52c..620fcd60 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -16,7 +16,7 @@ install: build: false test_script: - cargo test --target %TARGET% --verbose - - cargo run --target %TARGET% -- src/main.rs README.md --paging=never + - cargo run --target %TARGET% -- src/bin/bat/main.rs README.md --paging=never before_deploy: # Generate artifacts for release diff --git a/ci/script.bash b/ci/script.bash index fc874b96..db608c16 100755 --- a/ci/script.bash +++ b/ci/script.bash @@ -10,5 +10,5 @@ if [[ $TARGET != arm-unknown-linux-gnueabihf ]] && [[ $TARGET != aarch64-unknown cargo test --target "$TARGET" --verbose # Run 'bat' on its own source code and the README - cargo run --target "$TARGET" -- src/main.rs README.md --paging=never + cargo run --target "$TARGET" -- src/bin/bat/main.rs README.md --paging=never fi