TheMathemagicians/sevenkeys/Makefile

10 lines
393 B
Makefile

createdb:
mysql --user=root --password=$(shell pass show sevenkeys/mysql) <database/sql/createdb.sql
removedb:
rm -rf cache/
mysql --user=root --password=$(shell pass show sevenkeys/mysql) <database/sql/removedb.sql
connect:
mysql --user=root --password=$(shell pass show sevenkeys/mysql)
dump:
mysqldump --user=root --password=$(shell pass show sevenkeys/mysql) sevenkeys >sevenkeys.sql