From 9ff86ae846c42210556388e7b089b03573e2b0c5 Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Sun, 17 Mar 2024 23:09:14 +0100 Subject: [PATCH] Makefile: add `wipe-db` and `release` rules + OPTS contains `--progress` by default. --- makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index ec7fea6..d7f4540 100644 --- a/makefile +++ b/makefile @@ -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"