-
Notifications
You must be signed in to change notification settings - Fork 459
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added script to create new installer and updated output name
- Loading branch information
Showing
2 changed files
with
20 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@ECHO OFF | ||
|
||
CALL rmdir "%~dp0artifacts\" /s /q | ||
|
||
SET msbuild="%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe" | ||
|
||
SET configuration=Release | ||
SET platform="Mixed Platforms" | ||
|
||
:: Build the solution. Override the platform to account for running | ||
:: from Visual Studio Tools command prompt (x64). Log quietly to the | ||
:: console and verbosely to a file. | ||
%msbuild% src/MarkPad.Setup.sln /nologo /property:Platform=%platform% /property:Configuration=%configuration% /verbosity:minimal /flp:verbosity=diagnostic | ||
|
||
:: get build output and copy out to root | ||
CALL xcopy "%~dp0src\MarkPad.Setup\bin\Release\*.msi" "%~dp0artifacts\" /s /e /Y | ||
|
||
IF NOT ERRORLEVEL 0 EXIT /B %ERRORLEVEL% |
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