From 16550496904861ee74c701c06369453e31cce7b1 Mon Sep 17 00:00:00 2001 From: Matthew McConnell Date: Wed, 28 Sep 2016 19:36:58 +0100 Subject: [PATCH] Updated build to include tester exe and zip package --- .gitignore | 1 + build.bat | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index a1e247c..8823493 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ src/ExileLootDropTester/obj/* *.suo src/packages/* .hgignore +@ExileLootDrop.zip diff --git a/build.bat b/build.bat index b0dbc85..280966a 100644 --- a/build.bat +++ b/build.bat @@ -7,7 +7,11 @@ mkdir @ExileLootDrop\addons %MSBUILD% src\ExileLootDrop.sln /property:Configuration=release /target:Rebuild /verbosity:normal /nologo copy src\ExileLootDrop\bin\Release\ExileLootDrop.dll @ExileLootDrop copy src\ExileLootDrop\bin\Release\ExileLootDrop.cfg @ExileLootDrop +copy src\ExileLootDropTester\bin\Release\ExileLootDropTester.exe @ExileLootDrop copy LICENSE.txt @ExileLootDrop copy README.md @ExileLootDrop %MAKEPBO% -U -W -P -@=ExileLootDrop sqf @ExileLootDrop\addons\ExileLootDrop.pbo +del @ExileLootDrop.zip +powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::CreateFromDirectory('@ExileLootDrop', '@ExileLootDrop.zip'); }" +pause \ No newline at end of file