clipboard-watcher/build.bat

17 lines
517 B
Batchfile
Raw Permalink Normal View History

RMDIR /s /q "bin\"
RMDIR /s /q "obj\"
2024-02-10 20:59:17 +00:00
MKDIR bin
dotnet restore skye.sln
dotnet publish skye.sln -r win-x64 -c Release /p:PublishSingleFile=true /p:SelfContained=false /p:PublishReadyToRunfalse=true /p:PublishDir="bin\"
REM "C:\B\Portable Files (dev)\Inno Setup\v6.0.4-2\app\ISCC.exe" "build-installer.iss"
"C:\B\Portable Files\7-Zip (Portable)\23.01\App\7-Zip64\7z.exe" a -t7z "bin\clipboardwatcher.7z" ".\bin\clipboardwatcher.exe" -mx9
RMDIR /s /q "bin\debug"
RMDIR /s /q "bin\release"
RMDIR /s /q "obj\"
PAUSE