forked from uetchy/Polyglot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
30 lines (21 loc) · 757 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
29
30
.PHONY: all bootstrap ship shipMAS clean build exportArchive exportArchiveMAS package inspect
all: bootstrap ship
bootstrap:
yarn install
ship: clean build exportArchive package
shipMAS: clean build exportArchiveMAS
clean:
rm -rf Artifacts
yarn clean
xcodebuild clean
build:
yarn build
xcodebuild build archive -scheme Polyglot -archivePath ./Artifacts/Polyglot.xcarchive
exportArchive:
xcodebuild -exportArchive -exportOptionsPlist ./exportOptions.plist -archivePath ./Artifacts/Polyglot.xcarchive -exportPath ./Artifacts/Exported
exportArchiveMAS:
xcodebuild -exportArchive -exportOptionsPlist ./exportOptionsMAS.plist -archivePath ./Artifacts/Polyglot.xcarchive
package:
yarn dmg
inspect:
pluginkit -mAvvv -p com.apple.Safari.extension