-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
42 lines (33 loc) · 919 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
37
38
39
40
41
42
#
# Qudini Task's Makefile
#
#
# Requires POSIX make; depending on complex POSIX shell commands is discouraged
# but permissable. Using non-POSIX features, e.g. GNU Make features,
# is _not_ acceptable.
#
.POSIX:
#
# Overriddable Arguments
#
MAVEN=mvn
MAVEN_FLAGS=
#
# Standard Targets
#
all:
$(MAVEN) compile $(MAVEN_FLAGS)
help:
@echo 'Makefile for Qudini Tasks '
@echo ' '
@echo 'Usage: '
@echo ' make Build for production. '
@echo ' make check Run the tests. '
@echo " make clean Clear out caches and temporary artefacts."
@echo ' make dist Create a JAR artefact for deployment. '
check:
$(MAVEN) verify $(MAVEN_FLAGS)
clean:
$(MAVEN) clean $(MAVEN_FLAGS)
dist:
$(MAVEN) package $(MAVEN_FLAGS)