5# Incorporate TARGET env var to the build and test process
6cargo build --target "$TARGET" --verbose
8# We cannot run arm executables on linux
9if [[ $TARGET != arm-unknown-linux-gnueabihf ]] && [[ $TARGET != aarch64-unknown-linux-gnu ]]; then
10 cargo test --target "$TARGET" --verbose
12 # Run 'bat' on its own source code and the README
13 cargo run --target "$TARGET" -- src/main.rs README.md --paging=never
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list