forked from akarpov89/MicroFlow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.cmd
More file actions
25 lines (18 loc) · 728 Bytes
/
build.cmd
File metadata and controls
25 lines (18 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@echo off
set config=%1
if "%config%" == "" (
set config=Release
)
set version=1.0.44
if not "%PackageVersion%" == "" (
set version=%PackageVersion%
)
set nuget=
if "%nuget%" == "" (
set nuget=tools\nuget.exe
)
"%ProgramFiles(x86)%\MSBuild\14.0\Bin\msbuild" MicroFlow.sln /t:Rebuild /p:Configuration="%config%" /m /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false
set package_id="MicroFlow"
%nuget% pack "MicroFlow.nuspec" -sym -NoPackageAnalysis -Version %version% -Properties "Configuration=%config%;PackageId=%package_id%"
set package_meta_id="MicroFlow.Meta"
%nuget% pack "MicroFlow.Meta.nuspec" -sym -NoPackageAnalysis -Version %version% -Properties "Configuration=%config%;PackageId=%package_meta_id%"