1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-03 18:51:44 +00:00

Compare commits

...

7 Commits

Author SHA1 Message Date
sharkdp ed09a80a73 Bump version to 0.2.1 2018-05-01 12:46:33 +02:00
sharkdp 802540ea08 Add test-output 2018-05-01 10:45:51 +02:00
sharkdp dbf84e77e0 Use openssl 2018-05-01 10:45:51 +02:00
Wesley Moore 8f18567f2d Add Arch Linux installation instructions to README 2018-05-01 10:04:14 +02:00
David Peter e4d7e004ee Update README.md 2018-05-01 09:25:13 +02:00
sharkdp 51b57ccdb7 Update syntax_set, closes #25, fixes #28 2018-05-01 09:23:04 +02:00
sharkdp 25f83610f9 Remove explicit bincode dependency 2018-04-30 20:11:21 +02:00
5 changed files with 18 additions and 5 deletions
+5
View File
@@ -25,6 +25,8 @@ addons:
- gcc-multilib
# needed to build deb packages
- fakeroot
# use openssl-variant of libcurl
- libcurl4-openssl-dev
env:
global:
@@ -42,6 +44,9 @@ script:
# Incorporate TARGET env var to the build and test process
- 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
before_deploy:
- bash ci/before_deploy.bash
Generated
+1 -2
View File
@@ -61,11 +61,10 @@ dependencies = [
[[package]]
name = "bat"
version = "0.2.0"
version = "0.2.1"
dependencies = [
"ansi_term 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
"atty 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
"bincode 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"clap 2.31.2 (registry+https://github.com/rust-lang/crates.io-index)",
"console 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
"directories 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
+1 -2
View File
@@ -7,12 +7,11 @@ license = "MIT/Apache-2.0"
name = "bat"
readme = "README.md"
repository = "https://github.com/sharkdp/bat"
version = "0.2.0"
version = "0.2.1"
[dependencies]
atty = "0.2.2"
ansi_term = "0.9"
bincode = "1.0"
console = "0.6"
git2 = "0.6"
error-chain = "0.11"
+11 -1
View File
@@ -23,6 +23,16 @@ A *cat(1)* clone with syntax highlighting and Git integration.
Check out the [Release page](https://github.com/sharkdp/bat/releases) for binary builds and Debian packages.
### Arch Linux
On Arch Linux, you can install [the AUR package](https://aur.archlinux.org/packages/bat/) via yaourt, or manually:
```bash
git clone https://aur.archlinux.org/bat.git
cd bat
makepkg -si
```
### From source
If you want to build to compile `bat` from source, you need Rust 1.22 or higher.
@@ -35,7 +45,7 @@ cargo install bat
## Customization
`bat` uses the excellent [`syntect`](https://github.com/trishume/syntect/) library for syntax highlighting. `syntect` can read any Sublime Text language definition and theme.
`bat` uses the excellent [`syntect`](https://github.com/trishume/syntect/) library for syntax highlighting. `syntect` can read any [Sublime Text `.sublime-syntax` files](https://www.sublimetext.com/docs/3/syntax.html) and themes.
To build your own language-set and theme, follow these steps:
BIN
View File
Binary file not shown.