Add compilation instructions

This commit is contained in:
Ryan Geary 2019-09-17 17:17:43 -04:00
parent d226c750ef
commit 6c889b3963

View file

@ -65,3 +65,19 @@ choose :3 # print the beginning of the line to the 3rd item,
choose 3: # print the third item to the end of the line
```
## Compilation and Installation
In order to build `choose` you will need rust installed, and you can find
instructions for that [here](https://www.rust-lang.org/tools/install).
Then, to install:
```bash
git clone https://github.com/theryangeary/choose.git
cd choose
cargo build --release
install target/release/choose <DESTDIR>
```
Just make sure DESTDIR is in your path.