-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (23 loc) · 1.08 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
CONFIG = debug
encode-configs:
base64 -i .configurations/.xcconfig/Debug.xcconfig -o .configurations/.xcconfig/Debug.xcconfig.base64; \
base64 -i .configurations/.xcconfig/Shared.xcconfig -o .configurations/.xcconfig/Shared.xcconfig.base64; \
base64 -i .configurations/.xcconfig/Release.xcconfig -o .configurations/.xcconfig/Release.xcconfig.base64
prepare:
tuist install --no-update && tuist generate --no-open --no-binary-cache
build:
tuist build Debug --clean --no-binary-cache
local-lint-swiftlint:
~/.local/bin/mise x swiftlint@latest -- swiftlint Sources/ --config .swiftlint.yml
local-lint-swiftformat:
~/.local/bin/mise x swiftformat@latest -- swiftformat Sources/ --lint --lenient
test:
tuist test --configuration "Debug" --device "iPhone 15 Pro" --os "17.2.0" "Debug"
format:
mise x swiftformat@latest -- swiftformat Sources/
ci-lint-swiftlint:
mise x swiftlint@latest -- swiftlint lint Sources/ --config .swiftlint.yml --strict
ci-lint-swiftformat:
mise x swiftformat@latest -- swiftformat Sources/ --lint --strict
ci-lint-periphery:
mise x periphery@latest -- periphery scan