added build instructions to readme

This commit is contained in:
Noah Swerhun 2024-03-04 17:08:27 -06:00
parent 4a69bda90d
commit a5ccce1fb5
3 changed files with 7 additions and 2 deletions

View file

@ -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`

View file

@ -1,2 +1 @@
cargo build --release
cp target/release/ngen ~/.local/bin
cp target/release/ngen /usr/local/bin

1
uninstall.sh Normal file
View file

@ -0,0 +1 @@
rm /usr/local/bin/ngen