Default debug target in makefile
This commit is contained in:
parent
f5cacad639
commit
32f164bcb5
1 changed files with 4 additions and 1 deletions
3
makefile
3
makefile
|
@ -1,6 +1,9 @@
|
|||
PROJECT = $(shell basename $(CURDIR))
|
||||
GITHASH = $(shell git rev-parse --short HEAD)
|
||||
|
||||
debug:
|
||||
cargo run
|
||||
|
||||
release:
|
||||
cargo build --release
|
||||
tar -czf $(PROJECT)_$(GITHASH).tar.gz -C target/release $(PROJECT)
|
||||
|
|
Loading…
Reference in a new issue