Repository navigation
Expand file tree
/
Copy pathMakefile
More file actions
394 lines (324 loc) · 19.4 KB
/
Copy pathMakefile
File metadata and controls
394 lines (324 loc) · 19.4 KB
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
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
.DEFAULT_GOAL := help
FOUNDRY_ANDROID_JAVA_HOME ?= /Applications/Android Studio.app/Contents/jbr/Contents/Home
FOUNDRY_ANDROID_SDK ?= $(HOME)/Library/Android/sdk
FOUNDRY_PYTHON ?= python3
FOUNDRY_IOS_TEST_DESTINATION ?= platform=iOS Simulator,name=iPhone 17 Pro
CLI_PREFIX ?= $(HOME)/.local
.PHONY: cli-test cli-install
.PHONY: physics-test physics-ui-test physics-ios-ui-test
.PHONY: go-dev go-check go-test
.PHONY: rust-dev rust-check rust-test backend-parity-test
.PHONY: backend-identity-parity-test
.PHONY: backend-account-parity-test
.PHONY: backend-audit-parity-test
.PHONY: backend-postgres-parity-test
.PHONY: backend-notes-parity-test
.PHONY: backend-recovery-parity-test
.PHONY: backend-files-parity-test
.PHONY: backend-notifications-parity-test
.PHONY: backend-installations-parity-test
.PHONY: backend-push-parity-test
.PHONY: backend-push-providers-parity-test
.PHONY: backend-push-jobs-parity-test
.PHONY: backend-realtime-parity-test
.PHONY: backend-operations-parity-test rust-operations-test
backend-operations-parity-test:
$(FOUNDRY_PYTHON) -B scripts/operations_parity.py
rust-operations-test:
$(MAKE) -C backend/rust operations-test
backend-realtime-parity-test:
$(FOUNDRY_PYTHON) -B scripts/realtime_parity.py
backend-push-jobs-parity-test:
$(FOUNDRY_PYTHON) -B scripts/push_jobs_parity.py
backend-push-providers-parity-test:
$(FOUNDRY_PYTHON) -B scripts/push_providers_parity.py
backend-push-parity-test:
$(FOUNDRY_PYTHON) -B scripts/push_parity.py
backend-installations-parity-test:
$(FOUNDRY_PYTHON) -B scripts/installations_parity.py
backend-notifications-parity-test:
$(FOUNDRY_PYTHON) -B scripts/notifications_parity.py
backend-files-parity-test:
$(FOUNDRY_PYTHON) -B scripts/files_parity.py
backend-recovery-parity-test:
$(FOUNDRY_PYTHON) -B scripts/recovery_parity.py
backend-notes-parity-test:
$(FOUNDRY_PYTHON) -B scripts/notes_parity.py
backend-postgres-parity-test:
$(FOUNDRY_PYTHON) -B scripts/postgres_parity.py
backend-audit-parity-test:
$(FOUNDRY_PYTHON) -B scripts/audit_parity.py
backend-account-parity-test:
$(FOUNDRY_PYTHON) -B scripts/account_parity.py
backend-identity-parity-test:
$(FOUNDRY_PYTHON) -B scripts/identity_parity.py
rust-dev:
$(MAKE) -C backend/rust dev
rust-check:
$(MAKE) -C backend/rust check
rust-test:
$(MAKE) -C backend/rust test
backend-parity-test:
$(FOUNDRY_PYTHON) -B scripts/backend_parity.py
.PHONY: installations-ui-test
.PHONY: system-notifications-ui-test
.PHONY: push-tokens-ui-test
.PHONY: remote-notifications-ios-test remote-notifications-android-test
remote-notifications-ios-test: ios-generate
python3 -B scripts/remote_notifications_ios_test.py
remote-notifications-android-test:
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :app:connectedDebugAndroidTest \
-Pandroid.testInstrumentationRunnerArguments.class=dev.mobilefoundry.catalog.systemnotifications.RemoteNotificationTest,dev.mobilefoundry.catalog.systemnotifications.SystemNotificationTest
push-tokens-ui-test: ios-generate
xcodebuild -project frontend/swift/apps/FoundryCatalog/FoundryCatalog.xcodeproj \
-scheme FoundryCatalog -destination '$(FOUNDRY_IOS_TEST_DESTINATION)' \
-derivedDataPath .cache/ios -configuration Debug CODE_SIGNING_ALLOWED=YES CODE_SIGN_IDENTITY=- \
-quiet -only-testing:FoundryCatalogTests/PushTokenTests \
-only-testing:FoundryCatalogUITests/PushTokenUITests test
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :app:connectedDebugAndroidTest \
-Pandroid.testInstrumentationRunnerArguments.class=dev.mobilefoundry.catalog.installations.PushTokenTest,dev.mobilefoundry.catalog.installations.PushTokenUITest
system-notifications-ui-test: ios-generate
xcodebuild -project frontend/swift/apps/FoundryCatalog/FoundryCatalog.xcodeproj \
-scheme FoundryCatalog -destination '$(FOUNDRY_IOS_TEST_DESTINATION)' \
-derivedDataPath .cache/ios -configuration Debug CODE_SIGNING_ALLOWED=YES CODE_SIGN_IDENTITY=- \
-quiet -only-testing:FoundryCatalogTests/SystemNotificationAdmissionTests \
-only-testing:FoundryCatalogUITests/SystemNotificationUITests test
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :app:connectedDebugAndroidTest \
-Pandroid.testInstrumentationRunnerArguments.class=dev.mobilefoundry.catalog.systemnotifications.SystemNotificationTest
installations-ui-test: ios-generate
xcodebuild -project frontend/swift/apps/FoundryCatalog/FoundryCatalog.xcodeproj \
-scheme FoundryCatalog -destination '$(FOUNDRY_IOS_TEST_DESTINATION)' \
-derivedDataPath .cache/ios -configuration Debug CODE_SIGNING_ALLOWED=YES CODE_SIGN_IDENTITY=- \
-quiet -only-testing:FoundryCatalogTests/InstallationVaultTests test
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :app:connectedDebugAndroidTest \
-Pandroid.testInstrumentationRunnerArguments.class=dev.mobilefoundry.catalog.installations.InstallationVaultTest
go-dev:
$(MAKE) -C backend/go dev
go-check:
$(MAKE) -C backend/go check
go-test:
$(MAKE) -C backend/go test
cli-test:
$(FOUNDRY_PYTHON) -B -m unittest discover -s cli/tests -v
cli-install:
$(FOUNDRY_PYTHON) -B scripts/install_cli.py --prefix "$(CLI_PREFIX)"
.PHONY: product-ios-generate product-ios-build product-ios-test product-android-build product-android-ui-test starter-check
.PHONY: help kernel-build kernel-test http-test query-test data-test data-ui-test pending-notes-ui-test observation-test observation-ui-test session-test session-ui-test account-test account-ui-test shell-ui-test ui-test graphics-test assets-sync assets-check ios-generate ios-build ios-test android-build android-test android-ui-test notes-check
help:
@echo 'make backend-operations-parity-test Verify Go/Rust proxy trust and private metrics'
@echo 'make rust-operations-test Verify disposable Rust Docker/Caddy/SMTP/backup recovery'
@echo 'make backend-realtime-parity-test Verify Go/Rust live Notes hints and owned WebSockets'
@echo 'make backend-push-jobs-parity-test Verify Go/Rust retained job and recovery behavior'
@echo 'make backend-push-providers-parity-test Verify local Go/Rust APNs/FCM and guarded HTTP'
@echo 'make backend-identity-parity-test Verify Go/Rust memory Identity flows'
@echo 'make backend-account-parity-test Verify Go/Rust memory Account flows'
@echo 'make backend-audit-parity-test Verify Go/Rust memory event/Audit flows'
@echo 'make backend-notes-parity-test Verify Go/Rust Notes receipts/CAS/scope and HTTP flows'
@echo 'make backend-recovery-parity-test Verify Go/Rust contact/password recovery and local SMTP'
@echo 'make backend-files-parity-test Verify Go/Rust file bytes, lifecycle, receipts and Audit'
@echo 'make backend-notifications-parity-test Verify Go/Rust in-app inbox, reads and preferences'
@echo 'make backend-installations-parity-test Verify Go/Rust device registry and session retirement'
@echo 'make backend-push-parity-test Verify Go/Rust one-attempt dispatch and session eligibility'
@echo 'make backend-postgres-parity-test Verify disposable database/restart and Go core handoff'
@echo 'make rust-dev Run the Rust runtime and health endpoints'
@echo 'make rust-check Check Rust formatting, Clippy and build'
@echo 'make rust-test Run Rust workspace behavioral tests'
@echo 'make backend-parity-test Verify shared Go/Rust runtime fixtures'
@echo 'make remote-notifications-ios-test Verify injected remote and local iOS opens'
@echo 'make remote-notifications-android-test Verify remote/local Android notification opens'
@echo 'make push-tokens-ui-test Verify native token bridges and missing-setup UI'
@echo 'make go-dev Run the Go runtime and health endpoints'
@echo 'make go-check Check Go formatting, architecture, vet and build'
@echo 'make go-test Run Go foundation tests with the race detector'
@echo 'make cli-test Check native/Go CLI admission, copying and cleanup'
@echo 'make cli-install Link mobile-foundry into CLI_PREFIX/bin (default ~/.local)'
@echo 'make product-ios-generate Regenerate the clean iOS product project'
@echo 'make product-ios-build Build the clean iOS product for the simulator'
@echo 'make product-ios-test Run the clean iOS product native checks'
@echo 'make product-android-build Build the clean Android product APK'
@echo 'make product-android-ui-test Run clean product interactions on a device'
@echo 'make starter-check Check candidate extraction inventory and closure'
@echo 'make kernel-build Build the Swift kernel package'
@echo 'make kernel-test Run Swift and Kotlin kernel behavioral tests'
@echo 'make http-test Run Swift and Kotlin HTTP and domain service tests'
@echo 'make query-test Run Swift and Kotlin query/mutation value tests'
@echo 'make data-test Run Swift storage and native service/state-owner tests'
@echo 'make pending-notes-ui-test Run Android SQLite pending-recovery checks'
@echo 'make data-ui-test Run Android SQLite and Local notes UI tests on a device'
@echo 'make observation-test Run local repository observation and reader unit checks'
@echo 'make observation-ui-test Run Android live readers and account lifecycle checks'
@echo 'make session-test Run Swift and Kotlin session lifecycle tests'
@echo 'make go-native-test Verify native sessions/Notes/Files against an owned Go API'
@echo 'make installations-ui-test Run native installation Keychain/Keystore checks'
@echo 'make system-notifications-ui-test Run native notification/permission/open checks'
@echo 'make go-native-device-test Add iOS/Android Go catalog and native-vault checks'
@echo 'make session-ui-test Run Android Keystore and session UI tests on a device'
@echo 'make account-test Run session/HTTP, account storage and feature unit checks'
@echo 'make account-ui-test Run Android account, credential and Notes native checks'
@echo 'make shell-ui-test Run Android product shells and shared shell UI checks'
@echo 'make ui-test Run Swift and Kotlin token/material contract tests'
@echo 'make graphics-test Run graphics policies and native Metal shader tests'
@echo 'make physics-test Run Swift and Kotlin fixed-step toss physics tests'
@echo 'make physics-ui-test Run Android toss controls and pause/reset checks'
@echo 'make physics-ios-ui-test Run iPhone toss gestures and pause/reset checks'
@echo 'make assets-sync Author the lamp and synchronize bundled graphics assets'
@echo 'make assets-check Check asset hashes and both catalog copies'
@echo 'make ios-generate Regenerate the iOS project from project.yml'
@echo 'make ios-build Build the iOS catalog for the simulator'
@echo 'make ios-test Run iOS catalog state-owner tests on a simulator'
@echo 'make android-build Build the native core modules and Android debug APK'
@echo 'make android-test Run Kotlin core and Android unit tests'
@echo 'make android-ui-test Run Compose tests on a booted emulator/device'
@echo 'make notes-check Check learning notes and documentation links'
kernel-build:
swift build --package-path frontend/swift/packages/FoundryKernel
kernel-test:
swift test --package-path frontend/swift/packages/FoundryKernel
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :core:kernel:test
http-test:
swift test --package-path frontend/swift/packages/FoundryHTTP
swift test --package-path frontend/swift/packages/FoundryServices
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :core:http:test :core:services:test
query-test:
swift test --package-path frontend/swift/packages/FoundryQuery
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :core:query:test
data-test:
swift test --package-path frontend/swift/packages/FoundryData
swift test --package-path frontend/swift/packages/FoundryServices
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :core:services:test :app:testDebugUnitTest
observation-test: data-test
observation-ui-test:
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :app:connectedDebugAndroidTest \
-Pandroid.testInstrumentationRunnerArguments.class=dev.mobilefoundry.catalog.data.NotesObservationTest,dev.mobilefoundry.catalog.ui.notes.LiveNotesScreenTest,dev.mobilefoundry.catalog.data.AccountNotesRepositoryTest,dev.mobilefoundry.catalog.data.LocalNotesRepositoryTest,dev.mobilefoundry.catalog.session.KeystoreCredentialVaultTest,dev.mobilefoundry.catalog.ui.session.SessionCatalogScreenTest,dev.mobilefoundry.catalog.ui.notes.LocalNotesScreenTest,dev.mobilefoundry.catalog.ui.shell.AppShellTest
data-ui-test:
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :app:connectedDebugAndroidTest \
-Pandroid.testInstrumentationRunnerArguments.class=dev.mobilefoundry.catalog.data.LocalNotesRepositoryTest,dev.mobilefoundry.catalog.ui.notes.LocalNotesScreenTest
pending-notes-ui-test:
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :core:data:connectedDebugAndroidTest
ui-test:
swift test --package-path frontend/swift/packages/FoundryUI
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :core:ui:testDebugUnitTest
session-test:
swift test --package-path frontend/swift/packages/FoundrySession
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :core:session:testDebugUnitTest
.PHONY: go-native-test go-native-device-test
go-native-test:
python3 -B scripts/go_native_test.py
go-native-device-test:
python3 -B scripts/go_native_test.py --devices
session-ui-test:
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :app:connectedDebugAndroidTest \
-Pandroid.testInstrumentationRunnerArguments.class=dev.mobilefoundry.catalog.session.KeystoreCredentialVaultTest,dev.mobilefoundry.catalog.ui.session.SessionCatalogScreenTest
account-test:
swift test --package-path frontend/swift/packages/FoundrySession
swift test --package-path frontend/swift/packages/FoundryData
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :core:session:testDebugUnitTest :app:testDebugUnitTest
account-ui-test:
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :app:connectedDebugAndroidTest \
-Pandroid.testInstrumentationRunnerArguments.class=dev.mobilefoundry.catalog.data.AccountNotesRepositoryTest,dev.mobilefoundry.catalog.data.LocalNotesRepositoryTest,dev.mobilefoundry.catalog.session.KeystoreCredentialVaultTest,dev.mobilefoundry.catalog.ui.session.SessionCatalogScreenTest,dev.mobilefoundry.catalog.ui.notes.LocalNotesScreenTest
shell-ui-test:
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :app:connectedDebugAndroidTest \
-Pandroid.testInstrumentationRunnerArguments.class=dev.mobilefoundry.catalog.ui.shell.patterns.ProductShellCatalogTest,dev.mobilefoundry.catalog.ui.shell.AppShellTest,dev.mobilefoundry.catalog.ui.components.ShellCatalogTest,dev.mobilefoundry.catalog.ui.components.ShellComponentTest
graphics-test:
swift test --package-path frontend/swift/packages/FoundryGraphics
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :core:graphics:testDebugUnitTest
physics-test:
swift test --package-path frontend/swift/packages/FoundryPhysics
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :core:physics:test
physics-ui-test:
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :app:connectedDebugAndroidTest \
-Pandroid.testInstrumentationRunnerArguments.class=dev.mobilefoundry.catalog.ui.physics.PhysicsPlaygroundTest
physics-ios-ui-test:
xcodebuild -project frontend/swift/apps/FoundryCatalog/FoundryCatalog.xcodeproj \
-scheme FoundryCatalog -destination '$(FOUNDRY_IOS_TEST_DESTINATION)' \
-derivedDataPath .cache/ios -configuration Debug -parallel-testing-enabled NO \
-only-testing:FoundryCatalogUITests/PhysicsPlaygroundUITests \
CODE_SIGNING_ALLOWED=YES CODE_SIGN_IDENTITY=- -quiet test
ios-generate:
cd frontend/swift/apps/FoundryCatalog && xcodegen generate
ios-build:
xcodebuild -project frontend/swift/apps/FoundryCatalog/FoundryCatalog.xcodeproj \
-scheme FoundryCatalog -destination 'generic/platform=iOS Simulator' \
-derivedDataPath .cache/ios -configuration Debug CODE_SIGNING_ALLOWED=YES CODE_SIGN_IDENTITY=- -quiet build
ios-test:
xcodebuild -project frontend/swift/apps/FoundryCatalog/FoundryCatalog.xcodeproj \
-scheme FoundryCatalog -destination '$(FOUNDRY_IOS_TEST_DESTINATION)' \
-derivedDataPath .cache/ios -configuration Debug CODE_SIGNING_ALLOWED=YES CODE_SIGN_IDENTITY=- -quiet test
android-build:
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :core:kernel:build :core:http:build :core:services:build :core:query:build :core:data:assembleDebug :core:session:assembleDebug :core:ui:assembleDebug :core:graphics:assembleDebug :app:assembleDebug
android-test:
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :core:kernel:test :core:http:test :core:services:test :core:query:test :core:physics:test :core:session:testDebugUnitTest :core:ui:testDebugUnitTest :core:graphics:testDebugUnitTest :app:testDebugUnitTest
android-ui-test:
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :app:connectedDebugAndroidTest
assets-sync:
$(FOUNDRY_PYTHON) -B scripts/sync_graphics_assets.py
assets-check:
$(FOUNDRY_PYTHON) -B scripts/sync_graphics_assets.py --check
notes-check:
$(FOUNDRY_PYTHON) -B scripts/check_notes.py
starter-check:
$(FOUNDRY_PYTHON) -B scripts/check_starter_profile.py
product-ios-generate:
cd frontend/swift/apps/ProductApp && xcodegen generate
product-ios-build:
xcodebuild -project frontend/swift/apps/ProductApp/ProductApp.xcodeproj \
-scheme ProductApp -destination 'generic/platform=iOS Simulator' \
-derivedDataPath .cache/product-ios -configuration Debug CODE_SIGNING_ALLOWED=YES CODE_SIGN_IDENTITY=- -quiet build
product-ios-test:
xcodebuild -project frontend/swift/apps/ProductApp/ProductApp.xcodeproj \
-scheme ProductApp -destination '$(FOUNDRY_IOS_TEST_DESTINATION)' \
-derivedDataPath .cache/product-ios -configuration Debug CODE_SIGNING_ALLOWED=YES CODE_SIGN_IDENTITY=- -quiet test
product-android-build:
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :product:assembleDebug
product-android-ui-test:
cd frontend/kotlin/project && \
JAVA_HOME="$(FOUNDRY_ANDROID_JAVA_HOME)" ANDROID_HOME="$(FOUNDRY_ANDROID_SDK)" \
./gradlew :product:connectedDebugAndroidTest