mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
pull submodules make command
Adding an helper funciton to pull the latest from all registered submodules
This commit is contained in:
parent
150d3decb5
commit
cd2ca7b591
5
Makefile
5
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
|
||||
|
Loading…
Reference in New Issue
Block a user