File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ @ echo Off
2+ set config = %1
3+ if " %config% " == " " (
4+ set config = Release
5+ )
6+
7+ set version = 1.0.0
8+ if not " %PackageVersion% " == " " (
9+ set version = %PackageVersion%
10+ )
11+
12+ set nuget =
13+ if " %nuget% " == " " (
14+ set nuget = nuget
15+ )
16+
17+ call %nuget% install src\WebApiContrib.Formatting.CollectionJson.Client\packages.config -OutputDirectory %cd% \src\packages -NonInteractive -NoCache -Verbosity Detailed
18+ call %nuget% install src\WebApiContrib.Formatting.CollectionJson.Server\packages.config -OutputDirectory %cd% \src\packages -NonInteractive -NoCache -Verbosity Detailed
19+
20+ call %WINDIR% \Microsoft.NET\Framework\v4.0.30319\msbuild src\WebApiContrib.CollectionJson\WebApiContrib.CollectionJson.csproj /p:Configuration=" %config% " /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=diag /nr:false
21+ call %WINDIR% \Microsoft.NET\Framework\v4.0.30319\msbuild src\WebApiContrib.Formatting.CollectionJson.Client\WebApiContrib.Formatting.CollectionJson.Client.csproj /p:Configuration=" %config% " /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=diag /nr:false
22+ call %WINDIR% \Microsoft.NET\Framework\v4.0.30319\msbuild src\WebApiContrib.Formatting.CollectionJson.Server\WebApiContrib.Formatting.CollectionJson.Server.csproj /p:Configuration=" %config% " /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=diag /nr:false
23+
24+ mkdir Build
25+ call %nuget% pack " src\WebApiContrib.CollectionJson\WebApiContrib.CollectionJson.nuspec" -NoPackageAnalysis -verbosity detailed -o Build -Version %version% -p Configuration=" %config% "
26+ call %nuget% pack " src\WebApiContrib.Formatting.CollectionJson.Client\WebApiContrib.Formatting.CollectionJson.Client.nuspec" -NoPackageAnalysis -verbosity detailed -o Build -Version %version% -p Configuration=" %config% "
27+ call %nuget% pack " src\WebApiContrib.Formatting.CollectionJson.Server\WebApiContrib.Formatting.CollectionJson.Server.nuspec" -NoPackageAnalysis -verbosity detailed -o Build -Version %version% -p Configuration=" %config% "
28+
29+ pause
You can’t perform that action at this time.
0 commit comments