tamer: Makefile.am (bench-build): New target, default for all
Build the benchmarks by default to catch breakages without having to incur the cost of actually running them.main
parent
75d2ecf4dd
commit
f0f6f89745
|
@ -27,13 +27,13 @@
|
|||
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
.PHONY: all fix fmt check-fmt bench
|
||||
.PHONY: all fix fmt check-fmt bench bench-build
|
||||
|
||||
CARGO_BUILD_FLAGS=@CARGO_BUILD_FLAGS@
|
||||
|
||||
.DEFAULT: bin
|
||||
|
||||
all: bin doc
|
||||
all: bin doc bench-build
|
||||
|
||||
.PHONY: bin
|
||||
bin:
|
||||
|
@ -55,6 +55,10 @@ check-fmt:
|
|||
bench:
|
||||
@CARGO@ +@RUST_TC@ @CARGO_BENCH_PRE_FLAGS@ bench $(CARGO_BENCH_FLAGS) @FEATURES@
|
||||
|
||||
# Build but do not run benches (to ensures we didn't break them)
|
||||
bench-build:
|
||||
@CARGO@ +@RUST_TC@ @CARGO_BENCH_PRE_FLAGS@ build --benches @FEATURES@
|
||||
|
||||
fix: fmt
|
||||
fmt:
|
||||
@CARGO@ +@RUST_TC@ fmt
|
||||
|
|
Loading…
Reference in New Issue