Commit Graph

879 Commits

Author SHA1 Message Date
Florian Pigorsch
753a124ef2 Add some comments 2019-10-21 22:00:39 +02:00
Florian Pigorsch
58a4d009fa Add fstab file syntax 2019-10-21 21:56:24 +02:00
Fahmi Akbar Wildana
4664fb6f91 Remove comment in both examples
```diff
-// add_file()
```
2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
e287594654 Fix compile-error on Rust v1.35.0 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
1e19404736 Add 2 examples 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
2253d07341 Derive fmt::Debug whenever possible 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
7208a63a49 Implement trait Default for struct Config 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
0273848f54 Run cargo fmt 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
e542621125 Move back printer.rs and others into lib
others:
bin/bat/{controller,decorations,output,printer}.rs
2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
26439b41d2 Move Config,PagingMode from app.rs into lib.rs 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
a2ee753b25 Move config.rs into src/bin/bat/ 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
d3243903c0 Add --bins flag in CI before_deploy 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
cf68b13322 Fix CI 'src/main.rs': No such file or directory 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
837d0998da Remove unused macros in bin/bat 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
23d80f9e84 Fix all compile errors in bin/bat
* Change `mod errors` in lib.rs to public

* Add `fn handle_error` in lib.rs errors module
2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
e981bd88c1 Move src/bin/* into src/bin/bat/
This will limit [[bin]] to *bat* only which will make:
- `cargo run` works without specifying --bin
- prevent `cargo build --bins` to produce multiple binaries (app,clap_app,...)
2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
710a1df4ff Fix all compile warnings in lib.rs 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
cfd33168af Fix all compile errors in lib.rs 🚚
* Move {controller,output,printer,decorations}.rs into src/bin/

* Add `mod errors` from main.rs
2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
eefdb186b8 Add lib.rs 2019-10-20 21:43:51 +02:00
Fahmi Akbar Wildana
fc0ad4db2e Move {main,app,clap_app}.rs into src/bin/ 2019-10-20 21:43:51 +02:00
sharkdp
f03b45f3e5 Update TOML syntax 2019-10-20 20:48:14 +02:00
sharkdp
9a74bf1a88 Disable nightly build 2019-10-19 18:20:15 +02:00
David Peter
ff0b331dd6
Add llvm/libclang install instructions. 2019-10-15 21:40:38 +02:00
sharkdp
00bfbbf884 Add section concerning file encodings, see #568 2019-10-11 21:47:40 +02:00
Clar Fon
e44045a71a Add Dracula theme 2019-10-11 20:18:22 +02:00
Ethan P
962abcef80 Update create.sh to quickly check for and update missing submodules 2019-10-10 23:49:39 +02:00
Ethan P
95f2e5bbb7 Ensure submodules are updated before creating asset cache 2019-10-10 23:49:39 +02:00
David Peter
f46123e149
Add sponsor links as an experiment :-) 2019-10-07 19:43:36 +02:00
Martin Polreich
f0f77b1673 Add SaltStack SLS syntax 2019-10-06 21:26:46 +02:00
Rogelio Domínguez Hernández
39112e80c3 cmake and libz are not needed to install bat
Closes sharkdp#649
2019-10-06 20:34:14 +02:00
Rogelio Domínguez Hernández
a84c598e2c cmake and libz are not needed to install bat
Closes #649
2019-10-06 20:34:14 +02:00
Bernard Niset
6b2f78ec51 Add MacPorts instructions 2019-09-30 21:21:43 +02:00
Ethan P
938005864f
Merge pull request #676 from sharkdp/dependabot/cargo/liquid-0.19.0
Bump liquid from 0.18.2 to 0.19.0
2019-09-30 10:37:13 -07:00
dependabot-preview[bot]
3a5f8ece49
Bump liquid from 0.18.2 to 0.19.0
Bumps [liquid](https://github.com/cobalt-org/liquid-rust) from 0.18.2 to 0.19.0.
- [Release notes](https://github.com/cobalt-org/liquid-rust/releases)
- [Changelog](https://github.com/cobalt-org/liquid-rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cobalt-org/liquid-rust/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-30 02:17:48 +00:00
Ethan P
047a6f3b85
Merge pull request #673 from eth-p/fix-659
Parameterized documentation.
2019-09-28 18:58:35 -07:00
Ethan P
f09b75dafa
Revert changing generated file names based on parameters
It should be handled by a packaging script, not a build script.
2019-09-27 12:34:08 -07:00
Ethan P
54ec2e7bd0
Fix CI before_deploy to use parameterized names 2019-09-27 12:29:22 -07:00
Ethan P
e57b2e9528
Add generated files to gitignore 2019-09-27 12:14:43 -07:00
Ethan P
ea2179b352
Update fish completions to use parameterized names 2019-09-27 12:13:55 -07:00
Ethan P
c8478cedc5
Update manual page to use parameterized names 2019-09-27 12:06:54 -07:00
Ethan P
1692e5fef7
Merge pull request #669 from sharkdp/fix-666
Fix 'bat cache other-arg'
2019-09-27 10:57:01 -07:00
Ben Iofel
7ba5bc78b7 Update sublimehq/Packages to master 2019-09-23 08:58:56 +02:00
dependabot-preview[bot]
25c2e1725e Bump syntect from 3.2.1 to 3.3.0
Bumps [syntect](https://github.com/trishume/syntect) from 3.2.1 to 3.3.0.
- [Release notes](https://github.com/trishume/syntect/releases)
- [Changelog](https://github.com/trishume/syntect/blob/master/CHANGELOG.md)
- [Commits](https://github.com/trishume/syntect/compare/v3.2.1...v3.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-23 08:14:41 +02:00
Luna
853e48e3f3 Allow underscores and dashes in page names to fix highlighting issues with pages such as signal-safety or posix_openpt. 2019-09-22 22:26:58 +02:00
sharkdp
f5d359927a Fix 'bat cache other-arg', closes #666 2019-09-21 09:10:12 +02:00
sharkdp
4df5973fde Replace 'Printer' by 'needle' 2019-09-21 09:01:54 +02:00
sharkdp
45f3c73331 Extend 'man' integration section 2019-09-21 08:51:26 +02:00
sharkdp
4102175d98 Add '-x' flag for 'col', see #652, see #667 2019-09-21 08:44:26 +02:00
Ethan P
30ee2a464f Add eth-p/bat-extras integrations to README 2019-09-21 08:42:56 +02:00
Ethan P
7a5d1f27e7 Fix missing and inconsistent code fences in REAMDE 2019-09-21 08:42:56 +02:00