Initialize and update submodules when publishing meteor-tool.

This commit is contained in:
Ben Newman
2016-09-13 13:58:12 -04:00
parent c1f01cc860
commit c7edab4e62
2 changed files with 4 additions and 1 deletions

View File

@@ -54,6 +54,7 @@ if [ -d meteor ]; then
fi
git clone --recursive https://github.com/meteor/meteor.git
cd meteor
git submodule update --init --recursive
git fetch --tags
END

View File

@@ -11,8 +11,10 @@ md C:\tmp
cd C:\tmp
REM get the meteor/meteor repo
C:\git\bin\git.exe clone https://github.com/meteor/meteor.git
C:\git\bin\git.exe clone --recursive https://github.com/meteor/meteor.git
cd meteor
REM make extra sure to initialize and update submodules
C:\git\bin\git.exe submodule update --init --recursive
REM force git to use original end-line characters (unixy '\n')
C:\git\bin\git.exe config --replace-all core.autocrlf input
C:\git\bin\git.exe rm --cached -r . ^> nul