-
Notifications
You must be signed in to change notification settings - Fork 24
/
Makefile
212 lines (141 loc) · 7.13 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
clean:
(./code/gradlew -p code clean)
checkstyle: core-checkstyle signal-checkstyle lifecycle-checkstyle identity-checkstyle
checkformat: core-checkformat signal-checkformat lifecycle-checkformat identity-checkformat
format: core-format signal-format lifecycle-format identity-format
api-dump:
(./code/gradlew -p code/core apiDump)
api-check:
(./code/gradlew -p code/core apiCheck)
assemble-phone: core-assemble-phone signal-assemble-phone lifecycle-assemble-phone identity-assemble-phone
assemble-phone-release: core-assemble-phone-release signal-assemble-phone-release lifecycle-assemble-phone-release identity-assemble-phone-release
unit-test: core-unit-test signal-unit-test lifecycle-unit-test
unit-test-coverage: core-unit-test-coverage signal-unit-test-coverage lifecycle-unit-test-coverage
functional-test: core-functional-test signal-functional-test lifecycle-functional-test identity-functional-test
functional-test-coverage: core-functional-test-coverage signal-functional-test-coverage lifecycle-functional-test-coverage identity-functional-test-coverage
integration-test:
(./code/gradlew -p code/integration-tests uninstallDebugAndroidTest)
(./code/gradlew -p code/integration-tests connectedDebugAndroidTest)
build-third-party-extension:
(./code/gradlew test-third-party-extension:build)
### Core
core-checkstyle:
(./code/gradlew -p code/core checkstyle)
core-checkformat:
(./code/gradlew -p code/core spotlessCheck)
core-format:
(./code/gradlew -p code/core spotlessApply)
core-assemble-phone:
(./code/gradlew -p code/core assemblePhone)
core-assemble-phone-release:
(./code/gradlew -p code/core assemblePhoneRelease)
core-unit-test:
(./code/gradlew -p code/core testPhoneDebugUnitTest)
core-unit-test-coverage:
(./code/gradlew -p code/core createPhoneDebugUnitTestCoverageReport)
core-functional-test:
(./code/gradlew -p code/core uninstallPhoneDebugAndroidTest)
(./code/gradlew -p code/core connectedPhoneDebugAndroidTest)
core-functional-test-coverage:
(./code/gradlew -p code/core createPhoneDebugAndroidTestCoverageReport)
core-javadoc:
(./code/gradlew -p code/core dokkaJavadoc)
core-publish-snapshot: clean core-assemble-phone-release
(./code/gradlew -p code/core publishReleasePublicationToSonatypeRepository --stacktrace)
core-publish-main: clean core-assemble-phone-release
(./code/gradlew -p code/core publishReleasePublicationToSonatypeRepository -Prelease)
core-publish-maven-local:
(./code/gradlew -p code/core publishReleasePublicationToMavenLocal -x signReleasePublication)
core-publish-maven-local-jitpack:
(./code/gradlew -p code/core publishReleasePublicationToMavenLocal -Pjitpack -x signReleasePublication)
### Signal
signal-checkstyle:
(./code/gradlew -p code/signal checkstyle)
signal-checkformat:
(./code/gradlew -p code/signal spotlessCheck)
signal-format:
(./code/gradlew -p code/signal spotlessApply)
signal-assemble-phone:
(./code/gradlew -p code/signal assemblePhone)
signal-assemble-phone-release:
(./code/gradlew -p code/signal assemblePhoneRelease)
signal-unit-test:
(./code/gradlew -p code/signal testPhoneDebugUnitTest)
signal-unit-test-coverage:
(./code/gradlew -p code/signal createPhoneDebugUnitTestCoverageReport)
signal-functional-test:
(./code/gradlew -p code/signal uninstallPhoneDebugAndroidTest)
(./code/gradlew -p code/signal connectedPhoneDebugAndroidTest)
signal-functional-test-coverage:
(./code/gradlew -p code/signal createPhoneDebugAndroidTestCoverageReport)
signal-publish-snapshot: clean signal-assemble-phone
(./code/gradlew -p code/signal publishReleasePublicationToSonatypeRepository --stacktrace)
signal-publish-main: clean signal-assemble-phone
(./code/gradlew -p code/signal publishReleasePublicationToSonatypeRepository -Prelease)
signal-publish-maven-local:
(./code/gradlew -p code/signal assemblePhone)
(./code/gradlew -p code/signal publishReleasePublicationToMavenLocal)
signal-publish-maven-local-jitpack:
(./code/gradlew -p code/signal assemblePhone)
(./code/gradlew -p code/signal publishReleasePublicationToMavenLocal -Pjitpack -x signReleasePublication)
### Lifecycle
lifecycle-checkstyle:
(./code/gradlew -p code/lifecycle checkstyle)
lifecycle-checkformat:
(./code/gradlew -p code/lifecycle spotlessCheck)
lifecycle-format:
(./code/gradlew -p code/lifecycle spotlessApply)
lifecycle-assemble-phone:
(./code/gradlew -p code/lifecycle assemblePhone)
lifecycle-assemble-phone-release:
(./code/gradlew -p code/lifecycle assemblePhoneRelease)
lifecycle-unit-test:
(./code/gradlew -p code/lifecycle testPhoneDebugUnitTest)
lifecycle-unit-test-coverage:
(./code/gradlew -p code/lifecycle createPhoneDebugUnitTestCoverageReport)
lifecycle-functional-test:
(./code/gradlew -p code/lifecycle uninstallPhoneDebugAndroidTest)
(./code/gradlew -p code/lifecycle connectedPhoneDebugAndroidTest)
lifecycle-functional-test-coverage:
(./code/gradlew -p code/lifecycle createPhoneDebugAndroidTestCoverageReport)
lifecycle-publish-snapshot: clean lifecycle-assemble-phone
# (./code/gradlew -p code/lifecycle compilePhoneDebugJavaWithJavac)
(./code/gradlew -p code/lifecycle publishReleasePublicationToSonatypeRepository --stacktrace)
lifecycle-publish-main: clean lifecycle-assemble-phone
(./code/gradlew -p code/lifecycle publishReleasePublicationToSonatypeRepository -Prelease)
lifecycle-publish-maven-local:
(./code/gradlew -p code/lifecycle assemblePhone)
(./code/gradlew -p code/lifecycle publishReleasePublicationToMavenLocal)
lifecycle-publish-maven-local-jitpack:
(./code/gradlew -p code/lifecycle assemblePhone)
(./code/gradlew -p code/lifecycle publishReleasePublicationToMavenLocal -Pjitpack -x signReleasePublication)
### Identity
identity-checkstyle:
(./code/gradlew -p code/identity checkstyle)
identity-checkformat:
(./code/gradlew -p code/identity spotlessCheck)
identity-format:
(./code/gradlew -p code/identity spotlessApply)
identity-assemble-phone:
(./code/gradlew -p code/identity assemblePhone)
identity-assemble-phone-release:
(./code/gradlew -p code/identity assemblePhoneRelease)
identity-unit-test:
(./code/gradlew -p code/identity testPhoneDebugUnitTest)
identity-unit-test-coverage:
(./code/gradlew -p code/identity createPhoneDebugUnitTestCoverageReport)
identity-functional-test:
(./code/gradlew -p code/identity uninstallPhoneDebugAndroidTest)
(./code/gradlew -p code/identity connectedPhoneDebugAndroidTest)
identity-functional-test-coverage:
(./code/gradlew -p code/identity createPhoneDebugAndroidTestCoverageReport)
identity-publish-snapshot: clean identity-assemble-phone
(./code/gradlew -p code/identity publishReleasePublicationToSonatypeRepository --stacktrace)
identity-publish-main: clean identity-assemble-phone
(./code/gradlew -p code/identity publishReleasePublicationToSonatypeRepository -Prelease)
identity-publish-maven-local:
(./code/gradlew -p code/identity assemblePhone)
(./code/gradlew -p code/identity publishReleasePublicationToMavenLocal)
identity-publish-maven-local-jitpack:
(./code/gradlew -p code/identity assemblePhone)
(./code/gradlew -p code/identity publishReleasePublicationToMavenLocal -Pjitpack -x signReleasePublication)