Fix CI 'src/main.rs': No such file or directory

This commit is contained in:
Fahmi Akbar Wildana 2019-10-06 14:21:05 +07:00 committed by David Peter
parent 837d0998da
commit cf68b13322
2 changed files with 2 additions and 2 deletions

View File

@ -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

2
ci/script.bash vendored
View File

@ -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