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

master
Philippe Pittoli 2024-03-17 23:09:14 +01:00
parent ab18c0005d
commit 9ff86ae846
1 changed files with 7 additions and 1 deletions

View File

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