Permalink
Browse files

.bat files: initialize git submodules if necessary

  • Loading branch information...
1 parent 0a481a5 commit b33b5ca9bfce4e211b765a07f36d8ea218eddfdb @dgrunwald dgrunwald committed Dec 27, 2015
Showing with 9 additions and 0 deletions.
  1. +3 −0 clean.bat
  2. +3 −0 debugbuild.bat
  3. +3 −0 releasebuild.bat
View
@@ -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
View
@@ -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
View
@@ -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

0 comments on commit b33b5ca

Please sign in to comment.