Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 26 lines (20 sloc) 0.773 kb
51dd373 @jeresig Moved docs stuff to build, to be created when the docs are actually b…
jeresig authored
1
7c23b77 @rwaldron Strips IIFEs from modules; Always require built jQuery for tests.
rwaldron authored
2 all: update_submodules
f01c002 @jeresig Added the new Makefile.
jeresig authored
3
7c23b77 @rwaldron Strips IIFEs from modules; Always require built jQuery for tests.
rwaldron authored
4 submoduleclean: clean
150d3de @azatoth Introduce submodules, closes #8536
azatoth authored
5 @@echo "Removing submodules"
5480cd3 @jeresig Shortened the build messages in the Makefile and added test/qunit and…
jeresig authored
6 @@rm -rf test/qunit src/sizzle
0688344 @azatoth Makefile: cleanup
azatoth authored
7
4f9e786 @azatoth Change makefile order to only update submodules on 'all' target
azatoth authored
8 # change pointers for submodules and update them to what is specified in jQuery
7c23b77 @rwaldron Strips IIFEs from modules; Always require built jQuery for tests.
rwaldron authored
9 # --merge doesn't work when doing an initial clone, thus test if we have non-existing
10 # submodules, then do an real update
4f9e786 @azatoth Change makefile order to only update submodules on 'all' target
azatoth authored
11 update_submodules:
8a1156d @azatoth merge doesn't work when init
azatoth authored
12 @@if [ -d .git ]; then \
13 if git submodule status | grep -q -E '^-'; then \
14 git submodule update --init --recursive; \
15 else \
16 git submodule update --init --recursive --merge; \
17 fi; \
18 fi;
4f9e786 @azatoth Change makefile order to only update submodules on 'all' target
azatoth authored
19
cd2ca7b @azatoth pull submodules make command
azatoth authored
20 # update the submodules to the latest at the most logical branch
21 pull_submodules:
50e8837 @azatoth Makefile: pull_submodules cleaning
azatoth authored
22 @@git submodule foreach "git pull \$$(git config remote.origin.url)"
7c23b77 @rwaldron Strips IIFEs from modules; Always require built jQuery for tests.
rwaldron authored
23 #@@git submodule summary
bd44688 @azatoth adding pull command
azatoth authored
24
7c23b77 @rwaldron Strips IIFEs from modules; Always require built jQuery for tests.
rwaldron authored
25 .PHONY: all submoduleclean update_submodules pull_submodules
Something went wrong with that request. Please try again.