mirror of
https://github.com/correl/mage.git
synced 2024-11-28 11:09:54 +00: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
|
@ -5,7 +5,7 @@
|
||||||
<playerTypes>
|
<playerTypes>
|
||||||
<playerType name="Human" jar="mage-player-human-${project.version}.jar" className="mage.player.human.HumanPlayer"/>
|
<playerType name="Human" jar="mage-player-human-${project.version}.jar" className="mage.player.human.HumanPlayer"/>
|
||||||
<playerType name="Computer - mad" jar="mage-player-ai-ma-${project.version}.jar" className="mage.player.ai.ComputerPlayer7"/>
|
<playerType name="Computer - mad" jar="mage-player-ai-ma-${project.version}.jar" className="mage.player.ai.ComputerPlayer7"/>
|
||||||
<playerType name="Computer - draftbot" jar="mage-player-ai-draft-bot.jar" className="mage.player.ai.ComputerDraftPlayer"/>
|
<playerType name="Computer - draftbot" jar="mage-player-ai-draftbot-${project.version}.jar" className="mage.player.ai.ComputerDraftPlayer"/>
|
||||||
</playerTypes>
|
</playerTypes>
|
||||||
<gameTypes>
|
<gameTypes>
|
||||||
<gameType name="Two Player Duel" jar="mage-game-twoplayerduel-${project.version}.jar" className="mage.game.TwoPlayerMatch" typeName="mage.game.TwoPlayerDuelType"/>
|
<gameType name="Two Player Duel" jar="mage-game-twoplayerduel-${project.version}.jar" className="mage.game.TwoPlayerMatch" typeName="mage.game.TwoPlayerDuelType"/>
|
||||||
|
|
|
@ -21,6 +21,7 @@ chdir("temp");
|
||||||
move("../Mage.Client/target/mage-client.zip", "client.zip");
|
move("../Mage.Client/target/mage-client.zip", "client.zip");
|
||||||
move("../Mage.Server/target/mage-server.zip", "server.zip");
|
move("../Mage.Server/target/mage-server.zip", "server.zip");
|
||||||
copy("../Utils/release/startMage.bat", "startMage.bat");
|
copy("../Utils/release/startMage.bat", "startMage.bat");
|
||||||
|
copy("../Utils/release/startMageWin7.bat", "startMageWin7.bat");
|
||||||
|
|
||||||
my $f = Archive::Extract->new( archive => "client.zip");
|
my $f = Archive::Extract->new( archive => "client.zip");
|
||||||
$f->extract( to => "client/");
|
$f->extract( to => "client/");
|
||||||
|
@ -33,6 +34,7 @@ my $zip = Archive::Zip->new();;
|
||||||
$zip->addTree("client", "mage-client");
|
$zip->addTree("client", "mage-client");
|
||||||
$zip->addTree("server", "mage-server");
|
$zip->addTree("server", "mage-server");
|
||||||
$zip->addFile("startMage.bat");
|
$zip->addFile("startMage.bat");
|
||||||
|
$zip->addFile("startMageWin7.bat");
|
||||||
$zip->writeToFileNamed("../mage-bundle.zip");
|
$zip->writeToFileNamed("../mage-bundle.zip");
|
||||||
chdir("..");
|
chdir("..");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue