-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed build for 64bit platform. + now msbuild-helper is obsolete and …
…was replaced by hMSBuild project. https://github.com/3F/hMSBuild
- Loading branch information
Showing
10 changed files
with
85 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
@echo off | ||
|
||
set msbuild=msbuild.bat | ||
set msbuild=netmsb | ||
|
||
|
||
call %msbuild% logic.targets /p:ngconfig="packages.config" /nologo /v:m /m:4 || goto err | ||
call %msbuild% -notamd64 "gnt.sln" /l:"packages\vsSBE.CI.MSBuild\bin\CI.MSBuild.dll" /v:m /m:4 | ||
call %msbuild% "gnt.sln" /l:"packages\vsSBE.CI.MSBuild\bin\CI.MSBuild.dll" /v:m /m:4 | ||
|
||
goto exit | ||
exit /B 0 | ||
|
||
:err | ||
|
||
echo. Build failed. 1>&2 | ||
|
||
:exit | ||
exit /B 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
@echo off | ||
|
||
set msbuild=msbuild.bat | ||
set msbuild=netmsb | ||
|
||
call %msbuild% minified/.compressor /p:core="../logic.targets" /p:output="gnt.core" /nologo /v:m /m:4 %* || goto err | ||
|
||
goto exit | ||
exit /B 0 | ||
|
||
:err | ||
|
||
echo. Build failed. 1>&2 | ||
|
||
:exit | ||
exit /B 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
@echo off | ||
|
||
set msbuild="%~dp0\..\msbuild.bat" | ||
set msbuild="%~dp0\..\netmsb.bat" | ||
|
||
echo SHA-1 test has been started. | ||
|
||
call "%~dp0\gnt" -unpack || goto err | ||
call %msbuild% "%~dp0\sha1_comparer.targets" /p:core1="%~dp0\../minified/gnt.core" /p:core2="%~dp0\gnt.core" /nologo /v:m /m:4 || goto err | ||
|
||
goto exit | ||
exit /B 0 | ||
|
||
:err | ||
|
||
echo. Build failed. 1>&2 | ||
|
||
:exit | ||
exit /B 1 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
@echo off | ||
setlocal enableDelayedExpansion | ||
|
||
:: Part of GetNuTool - https://github.com/3F/GetNuTool | ||
:: :: If you need a common MSBuild-helper, look here - https://github.com/3F/hMSBuild | ||
|
||
|
||
:: cfg | ||
|
||
:: 7z & amd64\msbuild - https://github.com/3F/vsSolutionBuildEvent/issues/38 | ||
set notamd64=1 | ||
|
||
|
||
:: - | ||
|
||
for %%v in (4.0, 3.5, 2.0) do ( | ||
for /F "usebackq tokens=2* skip=2" %%a in ( | ||
`reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\%%v" /v MSBuildToolsPath 2^> nul` | ||
) do if exist %%b ( | ||
|
||
set msbuildexe=%%b\MSBuild.exe | ||
|
||
if NOT "%notamd64%" == "1" ( | ||
goto found | ||
) | ||
|
||
set _amd=!msbuildexe:Framework64=Framework! | ||
set _amd=!_amd:amd64=! | ||
|
||
if exist "!_amd!" ( | ||
set msbuildexe=!_amd! | ||
) | ||
goto found | ||
|
||
) | ||
) | ||
echo MSBuild was not found. 1>&2 | ||
exit /B 2 | ||
|
||
:found | ||
|
||
"!msbuildexe!" %* | ||
|
||
exit /B 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
@echo off | ||
|
||
set msbuild=msbuild.bat | ||
set msbuild=netmsb | ||
|
||
call compress || goto err | ||
call %msbuild% embedded/.packer /p:core="../minified/gnt.core" /p:output="gnt.bat" /nologo /v:m /m:4 %* || goto err | ||
|
||
embedded/sha1 | ||
|
||
goto exit | ||
exit /B 0 | ||
|
||
:err | ||
|
||
echo. Build failed. 1>&2 | ||
|
||
:exit | ||
exit /B 1 |