Update Release build script.

CQTexperiment
Dzmitry Neviadomski 2021-02-26 14:55:01 +03:00
parent e8c6a00d9e
commit ddacb3a6da
1 changed files with 3 additions and 7 deletions

View File

@ -1,10 +1,6 @@
#!/bin/sh #!/bin/sh
pushd $(dirname $0) BASEDIR=$(dirname "$0")
BASE=`pwd -P` SRCROOT="$BASEDIR/.."
popd
BUILDPRODUCTS="$BASE"/build/Build/Products/Release
xcodebuild -workspace "$BASE"/../Cog.xcodeproj/project.xcworkspace -scheme Cog -configuration Release -derivedDataPath "$BASE"/build
xcodebuild -workspace "$SRCROOT/Cog.xcodeproj/project.xcworkspace" -scheme Cog -configuration Release -derivedDataPath "$BASEDIR/build"