diff options
author | sharkdp <davidpeter@web.de> | 2018-08-28 21:03:03 +0200 |
---|---|---|
committer | sharkdp <davidpeter@web.de> | 2018-08-28 21:03:03 +0200 |
commit | 28e1d0e613833f87681df8e341a9ad5e76a8e28b (patch) | |
tree | 563490b2a2a3daee8414492071b892146994fd09 | |
parent | d11839ad030222423a9a754477d2a47c48a0f433 (diff) |
Add development section to README
-rw-r--r-- | README.md | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -225,6 +225,27 @@ script as a wrapper, for example: less --tabs 4 -RF "$@" ``` +## Development + +```bash +# Recursive clone to retrieve all submodules +git clone --recursive https://github.com/sharkdp/bat + +# Build (debug version) +cd bat +cargo build + +# Run unit tests and integration tests +cargo test + +# Install (release version) +cargo install + +# Build a bat binary with modified syntaxes and themes +bash assets/create.sh +cargo install -f +``` + ## Project goals and alternatives `bat` tries to achieve the following goals: |