-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
36 lines (26 loc) · 1.17 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
34
35
36
default: clean pods test integration-tests coverage
nopods: clean-nopods test integration-tests coverage
clean-nopods:
xcodebuild -workspace Loopy.xcworkspace -scheme "TestApp" -configuration Release -sdk iphoneos clean
xcodebuild -workspace Loopy.xcworkspace -scheme "UnitTests" -configuration Debug -sdk iphonesimulator clean
xcodebuild -workspace Loopy.xcworkspace -scheme "IntegrationTests" -configuration Debug -sdk iphonesimulator clean
rm -rfd build
clean: clean-nopods
rm -rfd Pods
pods:
pod install
test:
WRITE_JUNIT_XML=YES GHUNIT_CLI=1 xcodebuild -workspace Loopy.xcworkspace -scheme "UnitTests" -configuration Debug -sdk iphonesimulator build -destination OS=8.1,name="iPhone 5"
integration-tests:
WRITE_JUNIT_XML=YES GHUNIT_CLI=1 xcodebuild -workspace Loopy.xcworkspace -scheme "IntegrationTests" -configuration Debug -sdk iphonesimulator build -destination OS=8.1,name="iPhone 5"
coverage:
./XcodeCoverage/getcovcombined
sphinx_doc:
export LANG=en_US.UTF-8;\
export LC_ALL=en_US.UTF-8;\
export LC_CTYPE=en_US.UTF-8;\
ant -buildfile ./sphinx_doc.xml
framework:
xcodebuild -scheme "Loopy Framework" -configuration Release
package: framework
./Scripts/package.sh