Release in makefile

This commit is contained in:
Imbus 2024-05-03 08:34:42 +02:00
parent 43668dc8d3
commit b9c8cf5b05

View file

@ -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