forked from alan-turing-institute/trustchain-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (23 loc) · 696 Bytes
/
Makefile
File metadata and controls
30 lines (23 loc) · 696 Bytes
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
.PHONY: check-fastlane-user
check-fastlane-user:
ifeq ($(origin FASTLANE_USER),undefined)
@echo "🛑 FASTLANE_USER env var not defined." && exit 1
endif
.PHONY: setup-didkit-ios
setup-didkit-ios:
@./didkit_setup.sh -ios
.PHONY: deploy-ios
deploy-ios: check-fastlane-user setup-didkit-ios
@flutter build ios --release --no-codesign
@cd ios && bundle exec fastlane beta
.PHONY: setup-didkit-android
setup-didkit-android:
@./didkit_setup.sh -android
.PHONY: build-android
build-android: setup-didkit-android
@flutter build appbundle
.PHONY: deploy-android
deploy-android: build-android
@cd android && bundle exec fastlane beta
.PHONY: deploy-all
deploy-all: deploy-ios deploy-android