Skip to content

Commit

Permalink
moved and modified reset_server.cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
McLeopold committed May 6, 2011
1 parent 03d4dc0 commit 3bbddfb
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions integration_testing/reset_server.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
@echo off
pushd .
cd /d %0\..\..
rmdir /s /q submissions
mkdir submissions
rmdir /s /q worker\submissions
mkdir worker\submissions
rmdir /s /q worker\games
mkdir worker\games
rmdir /s /q maps
xcopy ants\maps maps /e /i /y
rmdir /s /q website\ants
mkdir website\ants
mkdir website\ants\games
mysql -u aichallenge -p%1 -D aichallenge < sql\0_schema.sql
mysql -u aichallenge -p%1 -D aichallenge < sql\1_data.sql
mysql -u aichallenge -p%1 -D aichallenge < sql\2_generate_matchup.sql
mysql -u aichallenge -p%1 -D aichallenge < sql\3_worker.sql
manager\add_maps_to_database.py
manager\create_test_bot.py ErrorBot -c 1
manager\create_test_bot.py TimeoutBot -c 1
manager\create_test_bot.py InvalidBot -c 1
manager\create_test_bot.py HunterBot -c 3
manager\create_test_bot.py LeftyBot -c 3
manager\create_test_bot.py GreedyBot -c 3
manager\create_test_bot.py RandomBot -c 3
popd

0 comments on commit 3bbddfb

Please sign in to comment.