WIP: partial clone #31
2
Makefile
2
Makefile
@ -18,6 +18,7 @@ clone_main: create_dir
|
||||
cd .tmp/upstream-docs-latest
|
||||
git config core.sparsecheckout true
|
||||
echo "docs/*" >> .git/info/sparse-checkout
|
||||
echo "scripts/*" >> .git/info/sparse-checkout
|
||||
echo "Makefile" >> .git/info/sparse-checkout
|
||||
git checkout
|
||||
cd docs && make trans-copy
|
||||
@ -47,6 +48,7 @@ clone_\#%: create_dir
|
||||
cur_path=`pwd`
|
||||
cd .tmp/upstream-docs-$* && git config core.sparsecheckout true
|
||||
echo "docs/*" >> .git/info/sparse-checkout
|
||||
echo "scripts/*" >> .git/info/sparse-checkout
|
||||
echo "Makefile" >> .git/info/sparse-checkout
|
||||
git checkout release/v1.$*
|
||||
cd docs && make trans-copy
|
||||
|
Reference in New Issue
Block a user