TheMathemagicians/sevenkeys/Makefile

11 lines
307 B
Makefile

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