Some minor additions/changes to release assembly.

This commit is contained in:
LevelX2 2013-06-08 16:56:23 +02:00
parent bbfd8de276
commit ef8d10a770
2 changed files with 3 additions and 1 deletions

View file

@ -21,6 +21,7 @@ chdir("temp");
move("../Mage.Client/target/mage-client.zip", "client.zip");
move("../Mage.Server/target/mage-server.zip", "server.zip");
copy("../Utils/release/startMage.bat", "startMage.bat");
copy("../Utils/release/startMageWin7.bat", "startMageWin7.bat");
my $f = Archive::Extract->new( archive => "client.zip");
$f->extract( to => "client/");
@ -33,6 +34,7 @@ my $zip = Archive::Zip->new();;
$zip->addTree("client", "mage-client");
$zip->addTree("server", "mage-server");
$zip->addFile("startMage.bat");
$zip->addFile("startMageWin7.bat");
$zip->writeToFileNamed("../mage-bundle.zip");
chdir("..");