emacswiki: configure sparseCheckout before doing git checkout
This commit is contained in:
parent
78f2d2a643
commit
d69c74ae1d
9
Makefile
9
Makefile
@ -18,12 +18,11 @@ $(call include-once,$(MK_DIR)/emacsd-defs.mk)
|
|||||||
|
|
||||||
GIT_DIRS += emacswiki
|
GIT_DIRS += emacswiki
|
||||||
URL-emacswiki := https://github.com/emacsmirror/emacswiki.org.git
|
URL-emacswiki := https://github.com/emacsmirror/emacswiki.org.git
|
||||||
post_init_cmd-emacswiki =\
|
GITCLONE_FLAGS-emacswiki := --no-checkout --config core.sparseCheckout=true --depth 10
|
||||||
cd $(@D) &&\
|
post_clone_cmd-emacswiki :=\
|
||||||
git config core.sparsecheckout true &&\
|
cd emacswiki &&\
|
||||||
echo '!*' > .git/info/sparse-checkout &&\
|
echo '!*' > .git/info/sparse-checkout &&\
|
||||||
echo '*.el' >> .git/info/sparse-checkout &&\
|
echo '*.el' >> .git/info/sparse-checkout
|
||||||
git read-tree -mu HEAD
|
|
||||||
|
|
||||||
GIT_DIRS += use-package
|
GIT_DIRS += use-package
|
||||||
URL-use-package := https://github.com/jwiegley/use-package.git
|
URL-use-package := https://github.com/jwiegley/use-package.git
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user