OSDN Git Service

Fixed an encoding issue for mk_rate
[shogi-server/shogi-server.git] / Makefile
index 31a995f..941b3fc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,24 @@
 .PHONY: doc
 doc: clean
        rdoc --main README -o doc \
-         . shogi-server README mk_html mk_rate
+         . shogi-server README mk_html mk_rate csa-file-filter
+
+.PHONY: test-run
+test-run: 
+       ./shogi-server --floodgate-games floodgate-900-0,floodgate-3600-0 hoge 4000 
+
+
+.PHONY: test-run-daemon
+test-run-daemon: 
+       ./shogi-server --floodgate-games floodgate-900-0,floodgate-3600-0 --daemon . --pid-file ./shogi-server.pid --player-log-dir ./player-logs hoge 4000
+
+.PHONY: stop-daemn
+stop-daemon:
+       kill `cat shogi-server.pid`
+
+.PHONY: test-time-run
+test-time-run: 
+       ruby -r sample/test_time.rb ./shogi-server --floodgate-games floodgate-900-0,floodgate-3600-0 hoge 4000 
 
 .PHONY: clean
 clean: