diff --git a/README.md b/README.md index a7241f6..8c86e89 100644 --- a/README.md +++ b/README.md @@ -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` diff --git a/install.sh b/install.sh index 86ec2b0..04a3e0c 100644 --- a/install.sh +++ b/install.sh @@ -1,2 +1 @@ -cargo build --release -cp target/release/ngen ~/.local/bin +cp target/release/ngen /usr/local/bin diff --git a/uninstall.sh b/uninstall.sh new file mode 100644 index 0000000..471f56d --- /dev/null +++ b/uninstall.sh @@ -0,0 +1 @@ +rm /usr/local/bin/ngen