diff --git a/makefile b/makefile index dec224d..97c755c 100644 --- a/makefile +++ b/makefile @@ -17,4 +17,9 @@ migrate: sqlite3 app/krusty.db < app/Migrations/create-schema.sql sqlite3 app/krusty.db < app/Migrations/initial-data.sql +GITHASH := $(shell git rev-parse --short HEAD) +# Tar everything that isnt gitignored +release: + git ls-files -z | xargs -0 tar -czf krusty-imbus_$(GITHASH).tar.gz + .PHONY: run clean test build