Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Commit

Permalink
Improved windows package.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
WebFreak001 committed Jul 17, 2017
1 parent 089edb1 commit 67701b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ rem This will delete the folder C:\build
del /S /Q C:\build
xcopy /e . C:\build
pushd C:\build
dub build --compiler=ldc2 --combined
dub build --build=release --compiler=ldc2 --combined
echo Y | del windows
mkdir windows
echo F | xcopy /f workspace-d.exe windows\workspace-d.exe
echo F | xcopy /f libcurl.dll windows\libcurl.dll
echo F | xcopy /f libeay32.dll windows\libeay32.dll
echo F | xcopy /f ssleay32.dll windows\ssleay32.dll
del C:\build\windows.zip
powershell -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::CreateFromDirectory('windows', 'windows.zip'); }"
popd
echo F | xcopy C:\build\windows.zip windows.zip
echo F | xcopy C:\build\windows.zip workspace-d-2.x.x-windows.zip

0 comments on commit 67701b7

Please sign in to comment.