From 285541b721167fbee75e233a10e615cf9748b2fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ira=C3=AA?= Date: Sun, 7 Feb 2010 23:47:48 -0200 Subject: [PATCH] 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. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1854c866a0..636c5df4e9 100644 --- a/Makefile +++ b/Makefile @@ -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}