added build instructions to readme
This commit is contained in:
parent
4a69bda90d
commit
a5ccce1fb5
3 changed files with 7 additions and 2 deletions
|
@ -27,3 +27,8 @@ write by hand). "Where other build systems are high-level languages Ninja aims
|
|||
to be an assembler," according to Ninja's website. It can be thought of as a
|
||||
simpler, faster replacement for the classic `make`. It is used by default by
|
||||
Meson; CMake can also be configured to use ninja as a backend.
|
||||
|
||||
## Building
|
||||
Build: `cargo build --release`
|
||||
Install: `sudo sh install.sh`
|
||||
Uninstall: `sudo sh uninstall.sh`
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
cargo build --release
|
||||
cp target/release/ngen ~/.local/bin
|
||||
cp target/release/ngen /usr/local/bin
|
||||
|
|
1
uninstall.sh
Normal file
1
uninstall.sh
Normal file
|
@ -0,0 +1 @@
|
|||
rm /usr/local/bin/ngen
|
Loading…
Reference in a new issue