ERD target proper dependencies in make

This commit is contained in:
Imbus 2024-05-05 13:32:20 +02:00
parent 50f86a1682
commit eb3b594aaa

View file

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