From 0e3bc8a443cc762efc94221c0d97f2a20443c5bd Mon Sep 17 00:00:00 2001 From: Ben Doherty Date: Wed, 11 Sep 2019 09:35:01 -0700 Subject: [PATCH] Only install iOS builds if requested (#1614) --- build.sh | 7 ++++++- ios/samples/README.md | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index d0e05d614d..1560b96554 100755 --- a/build.sh +++ b/build.sh @@ -508,7 +508,12 @@ function build_ios_target { ../.. fi - ${BUILD_COMMAND} install + ${BUILD_COMMAND} + + if [[ "$INSTALL_COMMAND" ]]; then + echo "Installing ${lc_target} in out/${lc_target}/filament..." + ${BUILD_COMMAND} ${INSTALL_COMMAND} + fi if [[ -d "../ios-${lc_target}/filament" ]]; then if [[ "$ISSUE_ARCHIVES" == "true" ]]; then diff --git a/ios/samples/README.md b/ios/samples/README.md index 80dabbe766..544c0bc3e0 100644 --- a/ios/samples/README.md +++ b/ios/samples/README.md @@ -41,7 +41,7 @@ command. For example, the following command will build for both devices (ARM64) (x86_64) in Debug mode: ``` -$ ./build.sh -s -p ios debug +$ ./build.sh -s -p ios -i debug ``` When building for the simulator, the sample will then link against the libraries present in