Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Updated build script and update_staging to not break like last time #28

Merged
merged 1 commit into from

3 participants

@nigelbabu

No description provided.

bin/update_staging.sh
@@ -26,7 +26,8 @@ pushd vendor > /dev/null
$GIT fetch origin
NEWCODE=$($GIT log origin/master..master|wc -l)
$GIT pull -q origin master
-$GIT submodule update --init
+git submodule sync

What's with the git command here but the $GIT everywhere else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@davedash

For the jenkins script, can we just use the jenkins.sh script from playdoh?

@davedash davedash merged commit 5089c9c into mozilla:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 19, 2011
  1. @nigelbabu
This page is out of date. Refresh to see the latest.
View
3  bin/update_prod.sh
@@ -18,7 +18,8 @@ popd > /dev/null
echo -e "Updating vendor..."
cd $VENDOR_DIR
git pull
-git submodule update --init
+git submodule sync
+git submodule update --init --recursive
echo -e "Updating reporter..."
cd $INPUT_DIR
View
3  bin/update_staging.sh
@@ -26,7 +26,8 @@ pushd vendor > /dev/null
$GIT fetch origin
NEWCODE=$($GIT log origin/master..master|wc -l)
$GIT pull -q origin master
-$GIT submodule update --init
+$GIT submodule sync
+$GIT submodule update --init --recursive
popd > /dev/null
#if [ "$NEWCODE" -gt 0 ]
View
6 scripts/build.sh
@@ -23,7 +23,11 @@ if [ ! -d "$WORKSPACE/vendor" ]; then
git clone git://github.com/mozilla/input-lib vendor
fi
-pushd vendor && git pull && git submodule update --init && popd
+pushd vendor
+git pull
+git submodule sync
+git submodule update --init --recursive
+popd
source $VENV/bin/activate
Something went wrong with that request. Please try again.