Created
June 24, 2014 13:28
-
-
Save bsimser/8c5d08f0f5fc0b7626d0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
@echo Off | |
set config=%1 | |
if "%config%" == "" ( | |
set config=Release | |
) | |
set version=1.0.0 | |
if not "%PackageVersion%" == "" ( | |
set version=%PackageVersion% | |
) | |
set nuget= | |
if "%nuget%" == "" ( | |
set nuget=nuget | |
) | |
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild src\Terrarium.Sdk.sln /p:Configuration="%config%" /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=diag /nr:false | |
mkdir Build | |
mkdir Build\lib | |
mkdir Build\lib\net40 | |
%nuget% pack "src\Terrarium.Sdk.nuspec" -NoPackageAnalysis -verbosity detailed -o Build -Version %version% -p Configuration="%config%" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment