From 483900258a8171bba86f2b21164fd1c9184ea777 Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Sun, 28 Aug 2022 17:56:57 +0300 Subject: [PATCH] Create Makefile --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fbe8868 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +run: + cargo run + +build: + cargo build --release + +install: + cargo build --release + cp target/release/donut ~/.local/bin/donut + +uninstall: + rm ~/.local/bin/donut + +help: + @echo "Usage:" + @echo " * make run: run in debug" + @echo " * make install: install donut to ~/.local/bin/" + @echo " * make uninstall: uninstall donut"