Sfoglia il codice sorgente

besseres build script

Kolja Strohm 6 anni fa
parent
commit
399f45ed2d
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      build.bat

+ 2 - 2
build.bat

@@ -1,12 +1,12 @@
 :DebugLinux64
 SET RETURN=DebugLinux64
 SET NEXT=ReleaseLinux64
-"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "Main Server.sln" /t:rebuild /p:configuration=debug /p:platform=x64
+"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "Main Server.sln" /t:rebuild /p:configuration=debug /p:platform=x64
 if errorlevel 1 GOTO Error
 :ReleaseLinux64
 SET RETURN=ReleaseLinux64
 SET NEXT=End
-"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "Main Server.sln" /t:rebuild /p:configuration=release /p:platform=x64
+"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "Main Server.sln" /t:rebuild /p:configuration=release /p:platform=x64
 if errorlevel 1 GOTO Error
 GOTO End
 :Error