diff options
author | Julien Dessaux | 2023-01-13 23:51:00 +0100 |
---|---|---|
committer | Julien Dessaux | 2023-01-13 23:51:00 +0100 |
commit | 7574585905167c07541b91261d0028d0a7eced91 (patch) | |
tree | 011771bcb29cc2641cd76ea4a1908c0e93b52ba4 /GNUmakefile | |
parent | switched to single quotes string in eslint (diff) | |
download | jeux-de-mots-7574585905167c07541b91261d0028d0a7eced91.tar.gz jeux-de-mots-7574585905167c07541b91261d0028d0a7eced91.tar.bz2 jeux-de-mots-7574585905167c07541b91261d0028d0a7eced91.zip |
Beautify make help
Diffstat (limited to '')
-rw-r--r-- | GNUmakefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile index 47028dd..f54b91b 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -7,21 +7,21 @@ check: ## make check # Check syntax of entry points (cd static; eslint index.js) .PHONY: init -init: ## make init # initialize project dependencies +init: ## make init # initialize project dependencies npm install .PHONY: serve -serve: ## make serve # run a self reloading nodejs web server +serve: ## make serve # run a self reloading development web server rm -f jdm.db sessions.db NODE_ENV=development node fixtures.js NODE_ENV=development nodemon main.js .PHONY: run -run: ## make run # run a production nodejs web server +run: ## make run # run a production web server NODE_ENV=production node main.js .PHONY: test -test: check ## make test # run tests +test: check ## make test # run tests @rm -f testjdm.db testsessions.db NODE_ENV=test node fixtures.js NODE_ENV=test vitest --config .vite.config.ts |