Make a shallow clone of babel for testing

There is no need to retrieve the whole history.
This commit is contained in:
Daniel Tschinder 2016-07-07 10:00:04 +02:00
parent 46ed49fe3a
commit ee6a578478
No known key found for this signature in database
GPG Key ID: 46A883CAEC8A94BD

View File

@ -8,7 +8,7 @@ clean: ; rm -rf ./build
bootstrap-babel: clean
mkdir ./build
git clone https://github.com/babel/babel.git ./build/babel
git clone --depth=1 --branch=master https://github.com/babel/babel.git ./build/babel
cd ./build/babel; \
make bootstrap
find ./build/babel/packages -type d -name 'babylon' -prune -exec rm -rf '{}' \; -exec ln -s '../../../../../' '{}' \;