mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
Some minor additions/changes to release assembly.
This commit is contained in:
parent
bbfd8de276
commit
ef8d10a770
2 changed files with 3 additions and 1 deletions
|
|
@ -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("..");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue