-
Notifications
You must be signed in to change notification settings - Fork 22
/
makefile
48 lines (38 loc) · 1.02 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
# Do not remove ##? comments. They are used by 'help' to construct the help docs.
##? antidote - the cure to slow zsh plugin management
##?
##? Usage: make <command>"
##?
##? Commands:
.DEFAULT_GOAL := help
all : build buildman test unittest bump-maj bump-min bump-rev help
.PHONY : all
##? help display this makefile's help information
help:
@grep "^##?" makefile | cut -c 5-
##? build run build tasks like generating man pages
build:
./tools/buildman
./tools/run-clitests
./tools/bumpver revision
##? buildman rebuild man pages
buildman:
./tools/buildman
##? test run tests
test:
./tools/run-clitests
##? unittest run only unittests
unittest:
./tools/run-clitests --unit
##? bump-maj bump the major version (X.0.0)
bump-maj:
./tools/bumpver major
##? bump-min bump the minor version (0.X.0)
bump-min:
./tools/bumpver minor
##? bump-rev bump the revision version (0.0.X)
bump-rev:
./tools/bumpver revision
##? bumpver bump the revision version (0.0.X)
bumpver:
./tools/bumpver revision