From c586dc8747882770973b6488c9f5f9e6e3f08d6c Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Thu, 12 Jul 2018 12:03:50 -0700 Subject: Separate Xcode project and tests for GoogleUtilities (#1521) --- scripts/build.sh | 7 +++++++ scripts/if_changed.sh | 2 +- scripts/install_prereqs.sh | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) (limited to 'scripts') 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) -- cgit v1.2.3