mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
Add less pager
This commit is contained in:
1 parent
9dca3126b3
commit
418b3c5ea1
2 files changed
+57
-9
No files matched your search
+3
-2
@@ -55,8 +55,9 @@ script:
|
||||
- cargo build --target $TARGET --verbose
|
||||
- cargo test --target $TARGET --verbose
|
||||
# Run 'bat' on its own source code and the README
|
||||
- cargo run --target $TARGET -- src/main.rs
|
||||
- cargo run --target $TARGET -- README.md
|
||||
# Piping to 'cat' forces the tty check to fail so that a pager is not used
|
||||
- cargo run --target $TARGET -- src/main.rs | cat
|
||||
- cargo run --target $TARGET -- README.md | cat
|
||||
|
||||
before_deploy:
|
||||
- bash ci/before_deploy.bash
|
||||
|
||||
Reference in new issue
Block a user