From fb844c3252cbaa51c2cbe5391567ae016eb48a4e Mon Sep 17 00:00:00 2001 From: Kevin Date: Mon, 3 Dec 2018 15:44:15 -0800 Subject: [PATCH] Allow setting SDK and platform through environment variables for build.sh (#1249) --- build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index ec4a62104..e2b54973f 100755 --- a/build.sh +++ b/build.sh @@ -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 {