Skip to content
Permalink
Browse files

Allow the Makefile to be more resiliant to broken builds and handle r…

…edirecting the output better in more shells. Thanks to 'candlerb' on jquery-dev for the suggestion.
  • Loading branch information
jeresig committed Dec 31, 2009
1 parent ea5d514 commit 6cf981eea20695987b4f7341f80442a7cf8271eb
Showing with 4 additions and 4 deletions.
  1. +4 −4 Makefile
@@ -41,10 +41,10 @@ ${DIST_DIR}:

init:
@@echo "Grabbing external dependencies..."
@@if test ! -d test/qunit; then git clone git://github.com/jquery/qunit.git test/qunit; fi
@@if test ! -d src/sizzle; then git clone git://github.com/jeresig/sizzle.git src/sizzle; fi
@@cd src/sizzle && git pull origin master &> /dev/null
@@cd test/qunit && git pull origin master &> /dev/null
@@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

jquery: ${DIST_DIR} selector ${JQ}

0 comments on commit 6cf981e

Please sign in to comment.
You can’t perform that action at this time.