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