Skip to content
Permalink
Browse files

pull submodules make command

Adding an helper funciton to pull the latest from all registered
submodules
  • Loading branch information
azatoth committed Mar 15, 2011
1 parent 150d3de commit cd2ca7b5918b3cedfed497ac7d86bfd2c5f92a8b
Showing with 5 additions and 0 deletions.
  1. +5 −0 Makefile
@@ -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

0 comments on commit cd2ca7b

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