Skip to content

Commit

Permalink
Allow setting SDK and platform through environment variables for buil…
Browse files Browse the repository at this point in the history
  • Loading branch information
wiseoldduck authored and wsdwsd0829 committed Mar 15, 2019
1 parent 155cce5 commit 15243ba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#!/bin/bash

PLATFORM="platform=iOS Simulator,OS=10.2,name=iPhone 7"
SDK="iphonesimulator11.0"
PLATFORM="${TEXTURE_BUILD_PLATFORM:-platform=iOS Simulator,OS=10.2,name=iPhone 7}"
SDK="${TEXTURE_BUILD_SDK:-iphonesimulator11.0}"
DERIVED_DATA_PATH="~/ASDKDerivedData"


# It is pitch black.
set -e
function trap_handler {
Expand Down

0 comments on commit 15243ba

Please sign in to comment.