9 lines
258 B
Makefile
9 lines
258 B
Makefile
PROJECT = $(shell basename $(CURDIR))
|
|
GITHASH = $(shell git rev-parse --short HEAD)
|
|
|
|
release:
|
|
cargo build --release
|
|
cp target/release/$(PROJECT) $(PROJECT)
|
|
strip $(PROJECT)
|
|
tar -czf $(PROJECT)_$(GITHASH).tar.gz $(PROJECT)
|
|
minisign -Sm $(PROJECT).tar.gz
|