Skip to content

Commit 5981201

Browse files
committed
Move make release rule to be default
1 parent 1dc35e8 commit 5981201

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Makefile

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
.PHONY: release
2+
release:
3+
cargo build --release
4+
5+
.PHONY: release-debug
6+
release-debug:
7+
RUSTFLAGS=-g cargo build --release
8+
19
flamegraph: release-debug
210
perf record --call-graph dwarf,16384 -e cpu-clock -F 997 target/release/choose -i test/long_long_long_long.txt 3:5
311
perf script | stackcollapse-perf.pl | stackcollapse-recursive.pl | c++filt | flamegraph.pl > flamegraphs/working.svg
@@ -17,10 +25,3 @@ bench: release
1725
bench_commit: release
1826
test/bench.sh `git log -n 1 --pretty=format:"%h"`
1927

20-
.PHONY: release-debug
21-
release-debug:
22-
RUSTFLAGS=-g cargo build --release
23-
24-
.PHONY: release
25-
release:
26-
cargo build --release

0 commit comments

Comments
 (0)