Skip to content
Permalink
Browse files
tools: Fix auto-build script (I hope).
  • Loading branch information
littleguy77 committed Apr 20, 2015
1 parent c5016ba commit ccc2e7e117d67af079866d59bf7d1d97a1617489
Showing 1 changed file with 5 additions and 0 deletions.
@@ -43,6 +43,11 @@ for currentBranch in "${remoteBranches[@]}"; do
cmd="git reset --hard origin/""$currentBranch"; $cmd
newRevision=`git rev-parse --short HEAD`

# Configure build dependencies
android update project -s -p libs/extras/android/support/v7/appcompat
android update project -s -p libs/extras/android/support/v7/gridlayout
android update project -s -p .

# Compare local and remote revision numbers, and build if there are changes
if [ "$oldRevision" == "$newRevision" ] && [ "$forceBuild" == false ]; then
echo "Nothing new to build"

0 comments on commit ccc2e7e

Please sign in to comment.