forked from sgleadow/xcodetest
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
28 lines (20 loc) · 928 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
# Makefile to build the XcodeTest static library and sample test project
default: clean xcodetest
.PHONY: clean
clean:
xcodebuild -sdk iphonesimulator -scheme XcodeTest clean
rm -rf libXcodeTest.a
.PHONY: xcodetest
xcodetest:
xcodebuild -sdk iphonesimulator -scheme XcodeTest install
.PHONY: bundle
bundle: xcodetest
zip -r xcodetest.zip libXcodeTest.a build_and_run_unit_tests.sh README.markdown
ui:
xcodebuild -sdk iphonesimulator -scheme XcodeTestSamplePassingTests build ONLY_ACTIVE_ARCH=NO TEST_AFTER_BUILD=YES
logic:
xcodebuild -sdk iphonesimulator -scheme XcodeTestSampleLogicTests build ONLY_ACTIVE_ARCH=NO TEST_AFTER_BUILD=YES
passing:
xcodebuild -sdk iphonesimulator -scheme XcodeTestSamplePassingTests build ONLY_ACTIVE_ARCH=NO TEST_AFTER_BUILD=YES XCODETEST=YES
failing:
xcodebuild -sdk iphonesimulator -scheme XcodeTestSampleFailingTests build ONLY_ACTIVE_ARCH=NO TEST_AFTER_BUILD=YES XCODETEST=YES