5 @@echo
"Removing submodules"
6 @@
rm -rf
test/qunit src
/sizzle
8 # change pointers for submodules and update them to what is specified in jQuery
9 # --merge doesn't work when doing an initial clone, thus test if we have non-existing
10 # submodules, then do an real update
12 @@if
[ -d .git
]; then \
13 if git submodule status | grep
-q
-E
'^-'; then \
14 git submodule update
--init
--recursive
; \
16 git submodule update
--init
--recursive
--merge
; \
20 # update the submodules to the latest at the most logical branch
22 @@git submodule
foreach "git pull \$$(git config remote.origin.url)"
23 #@@git submodule summary
25 .PHONY
: all submoduleclean update_submodules pull_submodules