Makefile: add `wipe-db` and `release` rules + OPTS contains `--progress` by default.
parent
ab18c0005d
commit
9ff86ae846
8
makefile
8
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"
|
||||
|
|
Loading…
Reference in New Issue