diff options
author | Paul Beusterien <paulbeusterien@google.com> | 2018-07-12 12:03:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-12 12:03:50 -0700 |
commit | c586dc8747882770973b6488c9f5f9e6e3f08d6c (patch) | |
tree | 511cda1bd0c67b94ab7bbb8ba22201fecf89909b /scripts | |
parent | 49f2493e14cd68ecc0e08ad2d9fc75739e419a3b (diff) |
Separate Xcode project and tests for GoogleUtilities (#1521)
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build.sh | 7 | ||||
-rwxr-xr-x | scripts/if_changed.sh | 2 | ||||
-rwxr-xr-x | scripts/install_prereqs.sh | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index 57d4010..ce3e58e 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -168,6 +168,13 @@ case "$product-$method-$platform" in build \ test + RunXcodebuild \ + -workspace 'GoogleUtilities/Example/GoogleUtilities.xcworkspace' \ + -scheme "Example_$platform" \ + "${xcb_flags[@]}" \ + build \ + test + if [[ $platform == 'iOS' ]]; then RunXcodebuild \ -workspace 'Functions/Example/FirebaseFunctions.xcworkspace' \ diff --git a/scripts/if_changed.sh b/scripts/if_changed.sh index 51217d6..e0e2a18 100755 --- a/scripts/if_changed.sh +++ b/scripts/if_changed.sh @@ -46,7 +46,7 @@ elif [[ -z "$TRAVIS_COMMIT_RANGE" ]]; then else case "$PROJECT-$METHOD" in Firebase-*) - check_changes '^(Firebase|Functions|Example)' + check_changes '^(Firebase|Functions|GoogleUtilities|Example)' ;; Firestore-xcodebuild|Firestore-pod-lib-lint) diff --git a/scripts/install_prereqs.sh b/scripts/install_prereqs.sh index c943369..9124299 100755 --- a/scripts/install_prereqs.sh +++ b/scripts/install_prereqs.sh @@ -26,11 +26,13 @@ case "$PROJECT-$PLATFORM-$METHOD" in gem install xcpretty bundle exec pod install --project-directory=Example --repo-update bundle exec pod install --project-directory=Functions/Example + bundle exec pod install --project-directory=GoogleUtilities/Example ;; Firebase-*-xcodebuild) gem install xcpretty bundle exec pod install --project-directory=Example --repo-update + bundle exec pod install --project-directory=GoogleUtilities/Example ;; Firestore-*-xcodebuild) |