• R/O
  • HTTP
  • SSH
  • HTTPS

shogi-server:

shogi-server source


File Info

Rev. 6e9f2816b581e6b6100b3df25700cd3b28ee9a7c
Size 841 bytes
Time 2020-10-04 11:33:03
Author Daigo Moriwaki
Log Message

Bump up revision

Content


.PHONY: doc
doc: clean
	rdoc --main README -o doc \
	  . shogi-server README mk_html mk_rate csa-file-filter

.PHONY: test-run
test-run:
	./shogi-server --floodgate-games floodgate-600-10,floodgate-3600-0 hoge 4000


.PHONY: test-run-daemon
test-run-daemon:
	./shogi-server --floodgate-games floodgate-600-10,floodgate-3600-0 --daemon . --pid-file ./shogi-server.pid --player-log-dir ./player-logs hoge 4000

.PHONY: stop-daemon
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: image-build
image-build: .image-build
.image-build: Dockerfile
	docker build -t shogiserver/shogiserver:latest -f $< .
	docker images -q shogiserver/shogiserver:latest > $@

.PHONY: clean
clean:
	-rm -rf doc .image-*
Show on old repository browser