From 625b5874b15322337a1837eced3f1da93bd4c86c Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sun, 5 May 2024 13:28:08 +0200 Subject: [PATCH] Zip target --- .gitignore | 1 + makefile | 3 +++ 2 files changed, 4 insertions(+) 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