-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
36 lines (30 loc) · 822 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
DBG_MAKEFILE ?=
ifeq ($(DBG_MAKEFILE),1)
$(warning ***** starting Makefile for goal(s) "$(MAKECMDGOALS)")
$(warning ***** $(shell date))
else
MAKEFLAGS += -s
endif
MAKEFLAGS += --no-builtin-rules
MAKEFLAGS += --warn-undefined-variables
.SUFFIXES:
dev: # @HELP runs development processes
dev:
npm run dev
format: # @HELP formats files
format:
npm run format
changelog: # @HELP updates CHANGELOG.md
changelog:
git-chglog -o CHANGELOG.md
release: # @HELP releases a new version as defined in ./scripts/release.sh
release:
./scripts/release.sh
help: # @HELP prints this message
help:
echo "TARGETS:"
grep -E '^.*: *# *@HELP' $(MAKEFILE_LIST) \
| awk ' \
BEGIN {FS = ": *# *@HELP"}; \
{ printf " %-30s %s\n", $$1, $$2 }; \
'