From de0d667d7962bda71088de07a1793f6b7c6e0ad1 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sun, 5 May 2024 13:29:06 +0200 Subject: [PATCH 1/3] ... --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 90fb2e4..fffb908 100644 --- a/makefile +++ b/makefile @@ -8,7 +8,7 @@ run: clean: ./gradlew clean - rm -f *.tar.gz *.tar.gz.minisig + rm -f *.tar.gz *.tar.gz.minisig *.zip rm -f app/krusty.db test: From 50f86a1682dd42e3579eb546fbcf73933abd30ff Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sun, 5 May 2024 13:30:43 +0200 Subject: [PATCH 2/3] Zip target final --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index fffb908..8d19e50 100644 --- a/makefile +++ b/makefile @@ -29,7 +29,7 @@ release: 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 + git archive --format=zip --prefix krusty11/ --output=krusty11-$(GITHASH).zip HEAD # Generate ERD. Requires eralchemy2 (pip install eralchemy2) erd: From eb3b594aaa218e52bd085c53ded5e7dfe77406a5 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sun, 5 May 2024 13:32:20 +0200 Subject: [PATCH 3/3] ERD target proper dependencies in make --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 8d19e50..30db587 100644 --- a/makefile +++ b/makefile @@ -8,7 +8,7 @@ run: clean: ./gradlew clean - rm -f *.tar.gz *.tar.gz.minisig *.zip + rm -f *.tar.gz *.tar.gz.minisig *.zip *.jpg rm -f app/krusty.db test: @@ -32,7 +32,7 @@ zip: git archive --format=zip --prefix krusty11/ --output=krusty11-$(GITHASH).zip HEAD # Generate ERD. Requires eralchemy2 (pip install eralchemy2) -erd: +erd: migrate eralchemy2 -i sqlite:///app/krusty.db -o erd.jpg .PHONY: run clean test build dbdump migrate release erd