Makefile: add wipe-db and release rules + OPTS contains --progress by default.

This commit is contained in:
Philippe Pittoli 2024-03-17 23:09:14 +01:00
parent ab18c0005d
commit 9ff86ae846

View File

@ -2,7 +2,7 @@ all: build
Q ?= @ Q ?= @
SHOULD_UPDATE = ./bin/should-update SHOULD_UPDATE = ./bin/should-update
OPTS ?= OPTS ?= --progress
NAME ?= John NAME ?= John
EMAIL ?= john@example.com EMAIL ?= john@example.com
@ -93,3 +93,9 @@ print-response-message-numbers:
make -s print-response-messages | grep -E "^[0-9]" | sort -n make -s print-response-messages | grep -E "^[0-9]" | sort -n
print-response-messages-without-comments: print-response-messages-without-comments:
make -s print-response-messages | grep -vE '^[[:blank:]]+#' make -s print-response-messages | grep -vE '^[[:blank:]]+#'
wipe-db:
rm -r $(DATA_DIRECTORY)
release:
make build-server OPTS="--progress --release"