Skip to content

Commit

Permalink
Add quick build batch file.
Browse files Browse the repository at this point in the history
  • Loading branch information
brutaldev committed Jan 12, 2023
1 parent 6d93f66 commit cfd94fd
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/Brutal.Dev.StrongNameSigner.Setup/Build-Deploy.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
@echo off

cls

pushd .
call "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsMSBuildCmd.bat"
popd

dotnet restore -c Release
dotnet publish -c Release "..\Brutal.Dev.StrongNameSigner\Brutal.Dev.StrongNameSigner.csproj"

MSBuild "..\Brutal.Dev.StrongNameSigner.sln" /t:Rebuild /p:Configuration=Release /m

echo.
"..\..\packages\Tools.InnoSetup.5.6.1\tools\ISCC.exe" StrongNameSigner.iss
echo.

echo.
"..\.nuget\NuGet.exe" pack StrongNameSigner.nuspec
move *.nupkg ..\..\deploy\
echo.

pause

0 comments on commit cfd94fd

Please sign in to comment.