diff options
author | Julien Dessaux | 2023-01-03 23:51:00 +0100 |
---|---|---|
committer | Julien Dessaux | 2023-01-03 23:51:00 +0100 |
commit | c5d2d7ca77a502ea607d2db5ecdec972bc76bc69 (patch) | |
tree | 877c4bb29aef5ba8de491d78cfc9ee7e31232ad7 /GNUmakefile | |
parent | Continue adding tests (diff) | |
download | jeux-de-mots-c5d2d7ca77a502ea607d2db5ecdec972bc76bc69.tar.gz jeux-de-mots-c5d2d7ca77a502ea607d2db5ecdec972bc76bc69.tar.bz2 jeux-de-mots-c5d2d7ca77a502ea607d2db5ecdec972bc76bc69.zip |
Fixed fixtures and testing
Diffstat (limited to '')
-rw-r--r-- | GNUmakefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index badea96..47028dd 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -12,6 +12,8 @@ init: ## make init # initialize project dependencies .PHONY: serve serve: ## make serve # run a self reloading nodejs web server + rm -f jdm.db sessions.db + NODE_ENV=development node fixtures.js NODE_ENV=development nodemon main.js .PHONY: run @@ -22,7 +24,7 @@ run: ## make run # run a production nodejs web server test: check ## make test # run tests @rm -f testjdm.db testsessions.db NODE_ENV=test node fixtures.js - NODE_ENV=test vitest + NODE_ENV=test vitest --config .vite.config.ts @rm -f testjdm.db testsessions.db help: |