Change Makefile targets

This commit is contained in:
The Magician 2024-05-20 17:26:18 +01:00
parent d3583cee0e
commit c4f87dc451
1 changed files with 5 additions and 3 deletions

View File

@ -1,8 +1,10 @@
removedb: createdb:
mysql --user=root --password=$(shell pass show sevenkeys/mysql) <sql/removedb.sql
createdb: removedb
mysql --user=root --password=$(shell pass show sevenkeys/mysql) <sql/createdb.sql mysql --user=root --password=$(shell pass show sevenkeys/mysql) <sql/createdb.sql
importsets: createdb importsets: createdb
go run cmd/importsets/main.go go run cmd/importsets/main.go
importcards: importsets importcards: importsets
go run cmd/importcards/main.go go run cmd/importcards/main.go
clean:
mysql --user=root --password=$(shell pass show sevenkeys/mysql) <sql/removedb.sql
rm -rf cache/