blob: 50c2a9aaec758c0d035092a7c13d78d6e5ace2d4 (
plain)
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
|
.PHONY: release
release:
xcodebuild -scheme 'Word Count' -configuration Release
.PHONY: clean-release
clean-release:
xcodebuild -project 'Word Count.xcodeproj' \
-configuration Release \
clean
.PHONY: archive
archive: clean-release release
xcodebuild -project 'Word Count.xcodeproj' \
-scheme 'Word Count' \
-configuration Release \
archive \
-archivePath build/Release.xcarchive
xcodebuild \
-exportArchive \
-archivePath build/Release.xcarchive \
-exportOptionsPlist export-options.plist \
-exportPath build
.PHONY: zip
zip: archive
cd build; \
zip -r 'Word Count.zip' 'Word Count.app'
|