forked from SAP/cloud-sdk-ios-cai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
19 lines (19 loc) · 998 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
build:
xcodebuild -scheme SAPCAI -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 11' clean build
test:
xcodebuild -scheme SAPCAI-Package -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 11' clean test
snapshottest:
xcodebuild -project ./CAITestApp/CAITestApp.xcodeproj -scheme CAITestAppTests -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 11' test
uitest:
xcodebuild -project ./CAITestApp/CAITestApp.xcodeproj -scheme CAITestAppUITests -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 11' test
jazzy: # e.g. make jazzy VERSION=1.0.4
sourcekitten doc --module-name SAPCAI -- -scheme SAPCAI -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 11' clean build > sapcai.json
jazzy --sourcekitten-sourcefile sapcai.json --module "SAPCAI" --clean --module-version $(or $(VERSION),"Latest")
rm sapcai.json
devtools:
brew bundle
mint bootstrap --link
lint:
swiftlint
format:
swiftformat .