forked from nsomar/Suas-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
26 lines (21 loc) · 1014 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
test:
make test-ios
make test-mac
test-ios:
xcodebuild -project Suas.xcodeproj -scheme SuasIOS -destination 'platform=iOS Simulator,name=iPhone 7,OS=11.2' -sdk iphonesimulator11.2 -configuration Debug ONLY_ACTIVE_ARCH=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES test
test-mac:
xcodebuild -project Suas.xcodeproj -scheme SuasMac -sdk macosx10.13 -configuration Debug ONLY_ACTIVE_ARCH=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES test
clean:
xcodebuild -project Suas.xcodeproj -scheme SuasIOS clean -destination 'platform=iOS Simulator,name=iPhone 7,OS=10.2' | xcpretty
xcodebuild -project Suas.xcodeproj -scheme SuasMac clean
rm -rf ./build
doc:
rm -rf docs
jazzy \
--author "Zendesk" \
--author_url http://zendesk.com \
--github_url https://github.com/Zendesk/Suas-iOS/tree/master \
--output docs \
--xcodebuild-arguments -scheme,"SuasIOS" \
--github-file-prefix https://github.com/Zendesk/Suas-iOS \
--theme fullwidth