focalboard/win-wpf/package-zip.bat

19 lines
484 B
Batchfile
Raw Normal View History

2021-03-23 20:08:30 +01:00
@echo off
if exist dist\focalboard-win.zip del /q dist\focalboard-win.zip
if not exist dist mkdir dist
2021-03-23 21:49:23 +01:00
if exist temp del /s /f /q temp
rmdir /s /q temp
if not exist temp mkdir temp
xcopy /e /i /y Focalboard\bin\x64\Release temp
copy ..\build\MIT-COMPILED-LICENSE.md temp
copy ..\NOTICE.txt temp
copy ..\webapp\NOTICE.txt temp\webapp-NOTICE.txt
echo --- Contents of temp ---
dir /s /b temp
echo ---
powershell Compress-Archive -Path temp\* -DestinationPath dist\focalboard-win.zip