mirror of
https://github.com/theryangeary/choose
synced 2024-11-10 05:24:13 +00:00
Add compilation instructions
This commit is contained in:
parent
d226c750ef
commit
6c889b3963
1 changed files with 16 additions and 0 deletions
16
readme.md
16
readme.md
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue