forked from adobe/aepsdk-rulesengine-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (23 loc) · 721 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
lint-autocorrect:
swiftlint autocorrect
lint:
swiftlint lint
check-format:
swiftformat --lint Sources
format:
swiftformat .
generate-lcov:
xcrun llvm-cov export -format="lcov" .build/debug/AEPRulesEnginePackageTests.xctest/Contents/MacOS/AEPRulesEnginePackageTests -instr-profile .build/debug/codecov/default.profdata > info.lcov
# make check-version VERSION=1.0.0-beta.1
check-version:
(sh ./script/version.sh $(VERSION))
test-SPM-integration:
(sh ./script/test-SPM.sh)
test-podspec:
(sh ./script/test-podspec.sh)
latest-version:
(which jq)
(pod spec cat AEPRulesEngine | jq '.version' | tr -d '"')
version-podspec-local:
(which jq)
(pod ipc spec AEPRulesEngine.podspec | jq '.version' | tr -d '"')