Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make sure being offline won't block development workflow.
Adding a flag to ignore exit status to the git pull command.
Only those witch already checked out in the past will benefit from this, since git clone will still block the build.
  • Loading branch information
irae committed Feb 8, 2010
1 parent 3c5b1ca commit 285541b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Expand Up @@ -43,8 +43,10 @@ init:
@@echo "Grabbing external dependencies..."
@@if test ! -d test/qunit/.git; then git clone git://github.com/jquery/qunit.git test/qunit; fi
@@if test ! -d src/sizzle/.git; then git clone git://github.com/jeresig/sizzle.git src/sizzle; fi
@@cd src/sizzle && git pull origin master > /dev/null 2>&1
@@cd test/qunit && git pull origin master > /dev/null 2>&1
@@cd src/sizzle
- @@git pull origin master > /dev/null 2>&1
@@cd test/qunit
- @@git pull origin master > /dev/null 2>&1

jquery: ${DIST_DIR} selector ${JQ}
jq: ${DIST_DIR} ${JQ}
Expand Down

0 comments on commit 285541b

Please sign in to comment.