iced_demo/makefile

16 lines
337 B
Makefile
Raw Normal View History

2024-05-04 10:44:26 +02:00
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
2024-05-04 10:47:31 +02:00
clean:
cargo clean
rm *.tar.gz
rm $(PROJECT)
rm $(PROJECT).tar.gz.minisig