default: go

go:
	ctags-exuberant true-false-tournament
	/usr/local/cpython-3.7/bin/mypy --disallow-untyped-calls --ignore-missing-imports true-false-tournament
	./true-false-tournament --command ./random --reps 10000 --progress

types:
	monkeytype run true-false-tournament.t --command ./random --reps 1000
	monkeytype run true-false-tournament.t --help
	LC_ALL=C.UTF-8 LANG=C.UTF-8 monkeytype apply true_false_tournament

install:
	./install-file --file true-false-tournament --directory /usr/local/bin/.

clean:
	rm -f tags monkeytype.sqlite3
	rm -rf .mypy_cache __pycache__