Makefile: Rename reset-test-databases to reset-testdb
This commit is contained in:
parent
53038c27a9
commit
88972a4094
1 changed files with 5 additions and 6 deletions
11
Makefile
11
Makefile
|
@ -26,9 +26,9 @@ dep: dep-tensorflow dep-js dep-go
|
||||||
build: generate build-js build-go
|
build: generate build-js build-go
|
||||||
install: install-bin install-assets
|
install: install-bin install-assets
|
||||||
test: test-js test-go
|
test: test-js test-go
|
||||||
test-go: reset-test-databases run-test-go
|
test-go: reset-testdb run-test-go
|
||||||
test-api: reset-test-databases run-test-api
|
test-api: reset-testdb run-test-api
|
||||||
test-short: reset-test-databases run-test-short
|
test-short: reset-testdb run-test-short
|
||||||
acceptance-private-run-chromium: acceptance-private-restart acceptance-private acceptance-private-stop
|
acceptance-private-run-chromium: acceptance-private-restart acceptance-private acceptance-private-stop
|
||||||
acceptance-public-run-chromium: acceptance-restart acceptance acceptance-stop
|
acceptance-public-run-chromium: acceptance-restart acceptance acceptance-stop
|
||||||
acceptance-private-run-firefox: acceptance-private-restart acceptance-private-firefox acceptance-private-stop
|
acceptance-private-run-firefox: acceptance-private-restart acceptance-private-firefox acceptance-private-stop
|
||||||
|
@ -155,9 +155,8 @@ acceptance-private-firefox:
|
||||||
reset-mariadb:
|
reset-mariadb:
|
||||||
$(info Resetting photoprism database...)
|
$(info Resetting photoprism database...)
|
||||||
mysql < scripts/sql/reset-mariadb.sql
|
mysql < scripts/sql/reset-mariadb.sql
|
||||||
reset-test-databases:
|
reset-testdb:
|
||||||
$(info Resetting test databases...)
|
$(info Removing test database files...)
|
||||||
mysql < scripts/sql/init-test-databases.sql
|
|
||||||
find ./internal -type f -name '.test.*' -delete
|
find ./internal -type f -name '.test.*' -delete
|
||||||
run-test-short:
|
run-test-short:
|
||||||
$(info Running short Go unit tests in parallel mode...)
|
$(info Running short Go unit tests in parallel mode...)
|
||||||
|
|
Loading…
Reference in a new issue