diff options
author | Carl Fürstenberg <azatoth@gmail.com> | 2011-03-15 21:25:51 +0100 |
---|---|---|
committer | Carl Fürstenberg <azatoth@gmail.com> | 2011-03-15 21:25:51 +0100 |
commit | cd2ca7b5918b3cedfed497ac7d86bfd2c5f92a8b (patch) | |
tree | 770936ce0b0986905e643d8f219246298b8ff6fd | |
parent | 150d3decb54971a7378fb48d0b6970d3fb50ff95 (diff) | |
download | jquery-cd2ca7b5918b3cedfed497ac7d86bfd2c5f92a8b.tar.gz jquery-cd2ca7b5918b3cedfed497ac7d86bfd2c5f92a8b.zip |
pull submodules make command
Adding an helper funciton to pull the latest from all registered
submodules
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -99,4 +99,9 @@ distclean: clean @@echo "Removing submodules" @@rm -rf test/qunit src/sizzle +# update the submodules to the latest at the most logical branch +pull_submodules: + @@git submodule foreach "git pull origin \$$(git branch --no-color --contains \$$(git rev-parse HEAD) | grep -v \( | head -1)" + @@git submodule summary + .PHONY: all jquery lint min init jq clean |