generated from BattlesnakeOfficial/starter-snake-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
57 lines (36 loc) · 867 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
install:
go mod tidy
default: install
test:
go test ./...
build:
docker build -t tiam -f "Dockerfile.tiam" .
run:
go run ./snakes/tiam/
compile:
go build -o tiam ./snakes/tiam/
compile_lancer:
go build -o lancer ./snakes/lancer/
build_random:
docker build -t random -f "Dockerfile.random" .
build_eater:
docker build -t eater -f "Dockerfile.eater" .
build_huey:
docker build -t huey -f "Dockerfile.huey" .
build_mini:
docker build -t mini -f "Dockerfile.mini" .
run_mini:
go run ./snakes/mini/
run_lancer:
go run ./snakes/lancer/
run_huey:
go run ./snakes/huey/
run_mcts:
go run ./snakes/mcts/
run_monte:
go run ./snakes/monte_carlo/
build_all: build build_random build_eater
build_ga:
go build -o genetic_algorithm ./gmo/evo_runner/main.go
run_ga: build_ga
BS_EXE=../rules/battlesnake CSV_OUTPUT_DIR=evo_out ./genetic_algorithm