-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
60 lines (45 loc) · 1.76 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
# OpenApi Gen
.PHONY: gen-open-api
gen-open-api:
./scripts/gen-api
# DOCKER SETUP
.PHONY: docker-db-up
docker-db-up:
docker compose --env-file .env -f docker/docker-compose.yml up -d database
.PHONY: docker-db-stop
docker-db-stop:
docker compose --env-file .env -f docker/docker-compose.yml stop database
.PHONY: docker-db-start
docker-db-start:
docker compose --env-file .env -f docker/docker-compose.yml start database
.PHONY: docker-db-down
docker-db-down:
docker compose --env-file .env -f docker/docker-compose.yml down database
# DOCKER SETUP
.PHONY: docker-backend-up
docker-backend-up:
docker compose --env-file .env -f docker/docker-compose-dev.yml up -d --build
.PHONY: docker-backend-stop
docker-backend-stop:
docker compose --env-file .env -f docker/docker-compose-dev.yml stop
.PHONY: docker-backend-start
docker-backend-start:
docker compose --env-file .env -f docker/docker-compose-dev.yml start
.PHONY: docker-backend-down
docker-backend-down:
docker compose --env-file .env -f docker/docker-compose-dev.yml down
.PHONY: docker-backend-rebuild
docker-backend-rebuild:
make docker-backend-down; make docker-backend-up
.PHONY: app-build-development
app-build-development:
cd mobile-app && npx eas-cli build -p ios --profile development --local --output=../.gen-builds/build.tar.gz
.PHONY: app-build-preview
app-build-preview:
cd mobile-app && npx eas-cli build -p ios --profile preview --local --output=../.gen-builds/build.tar.gz --non-interactive
.PHONY: app-build-staging
app-build-staging:
cd mobile-app && npx eas-cli build -p ios --profile staging --local --output=../.gen-builds/build.ipa --non-interactive
.PHONY: app-submit-staging
app-submit-staging:
cd mobile-app && npx eas-cli submit -p ios --path=../.gen-builds/build.ipa