summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--GNUmakefile4
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: