touch-bar-simulator/build
2017-03-28 01:01:09 +07:00

22 lines
374 B
Bash
Executable file

#!/bin/bash
NAME='Touch Bar Simulator'
rm -r Release 2>/dev/null
xcodebuild archive \
-scheme "$NAME" \
-archivePath Release/App.xcarchive
xcodebuild \
-exportArchive \
-archivePath Release/App.xcarchive \
-exportOptionsPlist export-options.plist \
-exportPath Release
cd Release
rm -r App.xcarchive
# Prerequisite: npm i -g create-dmg
create-dmg "${NAME}.app"