-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (32 loc) · 1.01 KB
/
Copy pathMakefile
File metadata and controls
39 lines (32 loc) · 1.01 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
.PHONY: setup ios android test clean clean-all help
setup:
@$(MAKE) -C backend setup
@$(MAKE) -C mobile-app node-install
@if [ "$$(uname)" = "Darwin" ]; then $(MAKE) -C mobile-app pod-install; fi
ios:
@$(MAKE) -C backend ios
@$(MAKE) -C mobile-app build-ios
android:
@$(MAKE) -C backend android
@$(MAKE) -C mobile-app build-android
test:
@$(MAKE) -C backend test
@$(MAKE) -C backend vet
clean:
@$(MAKE) -C backend clean
@$(MAKE) -C mobile-app clean
clean-all:
@$(MAKE) -C backend clean-all
@$(MAKE) -C mobile-app clean
help:
@echo "Available targets:"
@echo " make setup - Install Go toolchain and Node dependencies"
@echo " make ios - Build Go backend + iOS app"
@echo " make android - Build Go backend + Android app"
@echo " make test - Run Go tests and vet"
@echo " make clean - Clean all build artifacts"
@echo " make clean-all - Clean everything including caches"
@echo ""
@echo "Sub-project targets:"
@echo " make -C backend help"
@echo " make -C mobile-app help"