Don't try to run the clone code if the directory already exists.
This commit is contained in:
parent
6798df54f4
commit
d605b8ee56
8
Makefile
8
Makefile
|
@ -40,10 +40,10 @@ ${DIST_DIR}:
|
||||||
|
|
||||||
init:
|
init:
|
||||||
@@echo "Grabbing external dependencies..."
|
@@echo "Grabbing external dependencies..."
|
||||||
@@git clone git://github.com/jquery/qunit.git test/qunit
|
@@if test ! -d test/qunit; then git clone git://github.com/jquery/qunit.git test/qunit; fi
|
||||||
@@git clone git://github.com/jeresig/sizzle.git src/sizzle
|
@@if test ! -d src/sizzle; then git clone git://github.com/jeresig/sizzle.git src/sizzle; fi
|
||||||
@@cd src/sizzle && git pull origin master
|
@@cd src/sizzle && git pull origin master &> /dev/null
|
||||||
@@cd test/qunit && git pull origin master
|
@@cd test/qunit && git pull origin master &> /dev/null
|
||||||
|
|
||||||
jquery: ${DIST_DIR} selector ${JQ}
|
jquery: ${DIST_DIR} selector ${JQ}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue