Skip to content

Commit

Permalink
Making package.cmd work and build the zips
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronjensen committed Feb 28, 2009
1 parent 66490c5 commit 784b6e4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
Binary file modified PackageSource/Tools/Compete.Uploader.exe
Binary file not shown.
5 changes: 3 additions & 2 deletions PackageSource/setup.cmd
Expand Up @@ -2,10 +2,11 @@

if [%1] == [] GOTO usage
if [%2] == [] GOTO usage
if [%3] == [] GOTO usage

echo @Tools\Compete.Uploader.exe http://local.compete.com Source\RockPaperScissorsPro.Bot\bin\Debug\RockPaperScissorsPro.Bot.dll %1 %2 > upload.cmd
echo @Tools\Compete.Uploader.exe http://%1 Source\RockPaperScissorsPro.Bot\bin\Debug\RockPaperScissorsPro.Bot.dll %2 %3 > upload.cmd

exit

:usage
echo Usage: setup.cmd {teamName} {password}
echo Usage: setup.cmd {url} {teamName} {password}
Binary file added Tools/zip.exe
Binary file not shown.
12 changes: 12 additions & 0 deletions package.cmd
Expand Up @@ -4,3 +4,15 @@ popd
copy ..\compete\source\compete.uploader\bin\debug\compete.uploader.exe PackageSource\Tools
copy ..\compete\source\compete.bot\bin\debug\compete.bot.dll PackageSource\Libraries
copy Source\RockPaperScissorsPro.Round1\bin\debug\RockPaperScissorsPro.Round1.dll PackageSource\Libraries

del /s /q Packages
mkdir Packages

pushd PackageSource
call git clean -d -f
..\Tools\zip.exe -r ..\Packages\Round1.zip *
popd
pushd Source\RockPaperScissorsPro.Round3\bin\debug
..\..\..\..\Tools\zip.exe ..\..\..\..\Packages\Round2.zip RockPaperScissorsPro.Round2.dll
..\..\..\..\Tools\zip.exe ..\..\..\..\Packages\Round3.zip RockPaperScissorsPro.Round3.dll
popd

0 comments on commit 784b6e4

Please sign in to comment.