iced_demo/makefile
2024-05-04 10:44:26 +02:00

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