-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
51 lines (37 loc) · 892 Bytes
/
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
### Tuist ###
.PHONY: manifests
manifests:
tuist edit
.PHONY: install
install:
carthage update --platform iOS --use-xcframeworks --use-netrc --cache-builds --verbose --project-directory "XCFramework/"
tuist install
.PHONY: generate
generate:
TUIST_ROOT_DIR=${PWD} TUIST_BUILD_CONFIG=${config} tuist generate ${target}
.PHONY: cache
cache:
TUIST_ROOT_DIR=${PWD} tuist cache ${target} --external-only
.PHONY: module
module:
tuist scaffold Framework --layer ${layer} --name ${name}
.PHONY: clean
clean:
tuist clean
rm -rf XCFramework/Carthage
rm -rf *.xcworkspace
find Projects -name "*.xcodeproj" -exec rm -rf {} \;
### SUGAR ###
.PHONY: dev
dev:
make generate config=dev
.PHONY: prod
prod:
make generate config=prod target=Mohanyang
### Script ###
.PHONY: graph
graph:
sh DependencyGraph/graphMaker.sh
.PHONY: template
template:
sh FileTemplate/install_template.sh