Release in makefile
This commit is contained in:
parent
43668dc8d3
commit
b9c8cf5b05
1 changed files with 5 additions and 0 deletions
5
makefile
5
makefile
|
@ -17,4 +17,9 @@ migrate:
|
||||||
sqlite3 app/krusty.db < app/Migrations/create-schema.sql
|
sqlite3 app/krusty.db < app/Migrations/create-schema.sql
|
||||||
sqlite3 app/krusty.db < app/Migrations/initial-data.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
|
.PHONY: run clean test build
|
||||||
|
|
Loading…
Reference in a new issue