Add commande to reset database in Makefile
This commit is contained in:
3
Makefile
3
Makefile
@@ -42,6 +42,9 @@ f: fixtures
|
|||||||
fixtures: ## Import fixtures
|
fixtures: ## Import fixtures
|
||||||
bash src/main/resources/sql/fixtures/fixtures.sh
|
bash src/main/resources/sql/fixtures/fixtures.sh
|
||||||
|
|
||||||
|
reset-database: ## Import fixtures
|
||||||
|
cd src/main/resources/sql/ ; bash resetDB.sh
|
||||||
|
|
||||||
test-sql: ## Test sql
|
test-sql: ## Test sql
|
||||||
cd src/test/sql/ ; bash test.sh 1
|
cd src/test/sql/ ; bash test.sh 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user