diff --git a/.gitignore b/.gitignore index 151a90e..0dbaa06 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,7 @@ krusty.sqlite3 *.sqlite3 *.db *.tar.gz +*.zip *.minisig *.jpg *.pdf diff --git a/makefile b/makefile index a6ea063..90fb2e4 100644 --- a/makefile +++ b/makefile @@ -28,6 +28,9 @@ release: scp krusty-imbus_$(GITHASH).tar.gz server:/public/krusty/krusty-imbus_$(GITHASH).tar.gz scp krusty-imbus_$(GITHASH).tar.gz.minisig server:/public/krusty/krusty-imbus_$(GITHASH).tar.gz.minisig +zip: + git archive --format=zip --output=krusty-imbus_$(GITHASH).zip HEAD + # Generate ERD. Requires eralchemy2 (pip install eralchemy2) erd: eralchemy2 -i sqlite:///app/krusty.db -o erd.jpg