-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
110 lines (74 loc) · 2.63 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
GRADLEW ?= ./gradlew
help: Makefile
@echo
@echo " Choose a command to run in Reindeer:"
@echo
@sed -n 's/^##//p' $< | column -t -s ':' | sed -e 's/^/ /'
@echo
## gradlew: Run Gradle Command
gradlew:
@echo ">> ============= Run Gradle Command ============= <<"
$(GRADLEW) ${ARGS}
## assemble: Gradle assemble code task
assemble:
@echo ">> ============= Gradle assemble code task ============= <<"
$(GRADLEW) assemble --info
## check: Gradle check code task
check:
@echo ">> ============= Gradle check code task ============= <<"
$(GRADLEW) check --info
## test: Runs the unit tests.
test:
@echo ">> ============= Runs the unit tests ============= <<"
$(GRADLEW) test --info
## build: Gradle build jar task
build:
@echo ">> ============= Gradle build jar task ============= <<"
$(GRADLEW) build --info
## build_scan: Gradle build jar and scan report task
build_scan:
@echo ">> ============= Gradle build jar and scan report task ============= <<"
$(GRADLEW) build --scan
## clean: Deletes the build directory.
clean:
@echo ">> ============= Deletes the build directory ============= <<"
$(GRADLEW) clean
## dependencies: Displays all dependencies declared in root project
dependencies:
@echo ">> ============= Displays all dependencies declared in root project ============= <<"
$(GRADLEW) dependencies
## javadoc: Generates Javadoc API documentation for the main source code
javadoc:
@echo ">> ============= Generates Javadoc API documentation for the main source code ============= <<"
$(GRADLEW) javadoc
## properties: Displays the properties of root project
properties:
@echo ">> ============= Displays the properties of root project ============= <<"
$(GRADLEW) properties
## tasks: Displays the tasks runnable from root project
tasks:
@echo ">> ============= Displays the tasks runnable from root project ============= <<"
$(GRADLEW) tasks
## format: Gradle format code task
format:
@echo ">> ============= Gradle format code task ============= <<"
$(GRADLEW) spotlessApply --info
## verify: Gradle verify code format task
verify:
@echo ">> ============= Gradle verify code format task ============= <<"
$(GRADLEW) classes --info
$(GRADLEW) spotlessJavaCheck --info
$(GRADLEW) javadoc --info
## coverage: Gradle test coverage task
coverage:
@echo ">> ============= Gradle test coverage task ============= <<"
$(GRADLEW) jacocoTestCoverageVerification --info
$(GRADLEW) jacocoTestReport --info
## run: Run the App
run:
@echo ">> ============= Run the Application ============= <<"
$(GRADLEW) run ${ARGS}
## ci: Run all CI tests.
ci: check verify
@echo "\n==> All quality checks passed"
.PHONY: help