Skip to content

Commit

Permalink
Switch build script to Powershell.
Browse files Browse the repository at this point in the history
  • Loading branch information
n3wjack committed Jul 5, 2022
1 parent 596551a commit 71bbd9d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
1 change: 1 addition & 0 deletions ImapCleanup.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ VisualStudioVersion = 17.2.32616.157
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{55A440C3-3218-433A-BD4F-820D0B5E2F7B}"
ProjectSection(SolutionItems) = preProject
build.ps1 = build.ps1
LICENSE.txt = LICENSE.txt
Readme.md = Readme.md
EndProjectSection
Expand Down
9 changes: 0 additions & 9 deletions build.cmd

This file was deleted.

8 changes: 8 additions & 0 deletions build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Write-Host "`n*** Building self-contained winx64 exectable. ***`n" -ForegroundColor Cyan

cd ImapCleanup
dotnet publish -p:PublishSingleFile=true -r win-x64 -c Release --self-contained true -p:PublishTrimmed=true

cd bin\Release\net6.0\win-x64\publish

ls *.exe

0 comments on commit 71bbd9d

Please sign in to comment.