ec1506fd6abab779d4be5a61d3f41a0d9dd04a32
[entelect-challenge-tower-defence.git] / Makefile
1 build:
2         cargo build --release
3
4 test:
5         cargo test --release
6
7 bench:
8         cargo run --release --features "benchmarking" --bin perf-test
9
10 profile:
11         cargo build --release --features "benchmarking single-threaded extended-time"
12         mkdir -p target/profile
13         perf record -g target/release/perf-test
14         perf report
15
16 clean:
17         cargo clean
18
19 submission.zip: bot.json Cargo.lock Cargo.toml src
20         zip -r9 submission.zip bot.json Cargo.lock Cargo.toml src
21
22 .PHONY: build test bench profile clean