Makefile
This commit is contained in:
parent
234d8de6e0
commit
b70afbb92a
1 changed files with 4 additions and 1 deletions
5
makefile
5
makefile
|
@ -4,8 +4,11 @@ GITHASH = $(shell git rev-parse --short HEAD)
|
|||
debug:
|
||||
cargo run
|
||||
|
||||
release:
|
||||
build:
|
||||
cargo build --release
|
||||
ls -lh target/release/$(PROJECT)
|
||||
|
||||
release: build
|
||||
tar -czf $(PROJECT)_$(GITHASH).tar.gz -C target/release $(PROJECT)
|
||||
tar -tvf $(PROJECT)_$(GITHASH).tar.gz
|
||||
|
||||
|
|
Loading…
Reference in a new issue