Create Makefile

This commit is contained in:
Kristofers Solo 2022-08-28 17:56:57 +03:00
parent c45636606b
commit 483900258a

18
Makefile Normal file
View File

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