Browse Source

.bat files: initialize git submodules if necessary

pull/672/head
Daniel Grunwald 10 years ago
parent
commit
b33b5ca9bf
  1. 3
      clean.bat
  2. 3
      debugbuild.bat
  3. 3
      releasebuild.bat

3
clean.bat

@ -1,3 +1,6 @@ @@ -1,3 +1,6 @@
@if not exist "AvalonEdit\ICSharpCode.AvalonEdit.sln" (
git submodule update --init || exit /b 1
)
%windir%\microsoft.net\framework\v4.0.30319\msbuild /m ILSpy.sln /t:clean "/p:Platform=Any CPU" /p:Configuration=Debug
@IF %ERRORLEVEL% NEQ 0 PAUSE
%windir%\microsoft.net\framework\v4.0.30319\msbuild /m ILSpy.sln /t:clean "/p:Platform=Any CPU" /p:Configuration=Release

3
debugbuild.bat

@ -1,3 +1,6 @@ @@ -1,3 +1,6 @@
@if not exist "AvalonEdit\ICSharpCode.AvalonEdit.sln" (
git submodule update --init || exit /b 1
)
%windir%\microsoft.net\framework\v4.0.30319\msbuild /m ILSpy.sln /p:Configuration=Debug "/p:Platform=Any CPU"
@IF %ERRORLEVEL% NEQ 0 GOTO err
@exit /B 0

3
releasebuild.bat

@ -1,3 +1,6 @@ @@ -1,3 +1,6 @@
@if not exist "AvalonEdit\ICSharpCode.AvalonEdit.sln" (
git submodule update --init || exit /b 1
)
%windir%\microsoft.net\framework\v4.0.30319\msbuild /m ILSpy.sln /p:Configuration=Release "/p:Platform=Any CPU"
@IF %ERRORLEVEL% NEQ 0 GOTO err
@exit /B 0

Loading…
Cancel
Save