aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Paul Beusterien <paulbeusterien@google.com>2018-07-12 12:03:50 -0700
committerGravatar GitHub <noreply@github.com>2018-07-12 12:03:50 -0700
commitc586dc8747882770973b6488c9f5f9e6e3f08d6c (patch)
tree511cda1bd0c67b94ab7bbb8ba22201fecf89909b /scripts
parent49f2493e14cd68ecc0e08ad2d9fc75739e419a3b (diff)
Separate Xcode project and tests for GoogleUtilities (#1521)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build.sh7
-rwxr-xr-xscripts/if_changed.sh2
-rwxr-xr-xscripts/install_prereqs.sh2
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)