forked from fluentribbon/Fluent.Ribbon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBuild.cmd
More file actions
24 lines (17 loc) · 667 Bytes
/
Copy pathBuild.cmd
File metadata and controls
24 lines (17 loc) · 667 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
@ECHO OFF
SET target=Build
SET prerelease=
:: Check if NuGet package should be built
IF NOT '%1'=='' (
SET target=PublishVersion
:: Build a prerelease package
IF NOT '%1'=='stable' (
SET prerelease=%1
)
)
SET MSBuildUseNoSolutionCache=1
SET msbuildexe="%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe"
%msbuildexe% Fluent.Ribbon.msbuild /target:Build /property:Configuration=Debug /property:Prerelease=%prerelease% /v:m /nologo
%msbuildexe% Fluent.Ribbon.msbuild /target:%target% /property:Configuration=Release /property:Prerelease=%prerelease% /v:m /nologo
IF NOT ERRORLEVEL 0 EXIT /B %ERRORLEVEL%
pause