Change Makefile targets
This commit is contained in:
parent
d3583cee0e
commit
c4f87dc451
|
@ -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/
|
||||||
|
|
Loading…
Reference in New Issue