-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (22 loc) · 896 Bytes
/
Makefile
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
.PHONY: test server open madge dot cloc
test:
@script/test.sh
server:
@python3 -m http.server
open:
@osascript -e 'tell application "Google Chrome"' -e 'make new window' -e 'activate' -e 'end tell'
@open -a "Google Chrome" http://localhost:8000?scenario=akragas
@open -a "Google Chrome" http://localhost:8000?scenario=melee
@open -a "Google Chrome" http://localhost:8000?scenario=oneToOneMelee
@open -a "Google Chrome" http://localhost:8000?scenario=twoOnTwoMelee
@open -a "Google Chrome" http://localhost:8000?scenario=heavyVersusLight
tree:
@open -a "Google Chrome" "http://localhost:8000/tree.html?scenario=akragas&iterations=3000&playouts=10&depth=6&threshold=0&prune=0"
madge:
@npx madge --image /tmp/madge.svg src/main.js
@open -a "Google Chrome" /tmp/madge.svg
dot:
dot -O -Tpng doc/close-combat.dot
open doc/close-combat.dot.png
cloc:
@cloc --exclude-ext=test.js src