Create unified "importer" command
This commit is contained in:
parent
6a7f4171fb
commit
974893605d
|
@ -1,7 +1,7 @@
|
||||||
createdb:
|
createdb:
|
||||||
mysql --user=root --password=$(shell pass show sevenkeys/mysql) <sql/createdb.sql
|
mysql --user=root --password=$(shell pass show sevenkeys/mysql) <sql/createdb.sql
|
||||||
import: createdb
|
import: createdb
|
||||||
go run main.go
|
go run cmd/importer/main.go
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
mysql --user=root --password=$(shell pass show sevenkeys/mysql) <sql/removedb.sql
|
mysql --user=root --password=$(shell pass show sevenkeys/mysql) <sql/removedb.sql
|
||||||
|
|
Loading…
Reference in New Issue