From 7574585905167c07541b91261d0028d0a7eced91 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Fri, 13 Jan 2023 23:51:00 +0100 Subject: Beautify make help --- GNUmakefile | 8 ++++---- 1 file 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 -- cgit v1.2.3