-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
45 lines (32 loc) · 1.09 KB
/
Copy pathMakefile
File metadata and controls
45 lines (32 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
rm-doc:
rm -rf _build
build-doc:
# sphinx-apidoc -e -o docs/api olympus
sphinx-build --color -c docs/ -b html docs/ _build/html
serve-doc:
sphinx-serve
update-doc: build-doc serve-doc
yolo: rm-doc build-doc serve-doc
run-1v1:
COVERAGE_FILE=.coverage.e2e coverage run --concurrency=multiprocessing tests/integrations/gym_tests.py
run-doctest:
COVERAGE_FILE=.coverage.doct coverage run --parallel-mode -m pytest --cov=luafun --doctest-modules luafun
cov-combine:
coverage combine
coverage report -m
coverage xml
cov-send: cov-combine
codecov
install-lua:
# rm -f bots/botcpp_radiant.so
rm -f bots/botcpp_dire.so
ln -f botslua/bot_generic.lua bots/bot_generic.lua
ln -f botslua/hero_selection.lua bots/hero_selection.lua
ln -f botslua/ability_item_usage_generic.lua bots/ability_item_usage_generic.lua
ln -f botslua/item_purchase_generic.lua bots/item_purchase_generic.lua
ln -f botslua/pprint.lua bots/pprint.lua
install-cpp:
# rm -f bots/bot_generic.lua
# rm -f bots/hero_selection.lua
ln -f botscpp/bin/bots.so bots/botcpp_radiant.so
# cp -f botscpp/bin/bots.so bots/botcpp_dire.so