summaryrefslogtreecommitdiff
path: root/Makefile
blob: b5005daa247dec083b08e06d77852df7bacd44be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
default: build

build:
	cargo build --release

test:
	cargo test --release

bench:
	cargo run --release --features "benchmarking" --bin perf-test

profile:
	cargo build --release --features "benchmarking single-threaded extended-time"
	mkdir -p target/profile
	perf record -g target/release/perf-test
	perf report

clean:
	cargo clean

submission.zip: bot.json Cargo.lock Cargo.toml src
	zip -r9 submission.zip bot.json Cargo.lock Cargo.toml src

.PHONY: default build test bench profile clean