Skip to content

Commit

Permalink
Makefile: build and check benches
Browse files Browse the repository at this point in the history
In the current makefile benchmarks are not built or checked with
`cargo check` / `cargo clippy` so any errors appearing in them will not
be caught locally by a dev running `make ci` to perform checks / tests.

This commit adds benchmark building / checking to all relevant makefile
targets.
  • Loading branch information
Lorak-mmk committed Dec 11, 2023
1 parent 7d06b89 commit a2f286c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ fmt-check:

.PHONY: check
check:
cargo check --examples --tests
cargo check --all-targets

.PHONY: check-without-features
check-without-features:
cargo check --manifest-path "scylla/Cargo.toml" --features ""

.PHONY: clippy
clippy:
RUSTFLAGS=-Dwarnings cargo clippy --examples --tests -- -Aclippy::uninlined_format_args
RUSTFLAGS=-Dwarnings cargo clippy --all-targets -- -Aclippy::uninlined_format_args

.PHONY: test
test: up
Expand All @@ -42,7 +42,7 @@ dockerized-test: up

.PHONY: build
build:
cargo build --examples
cargo build --examples --benches

.PHONY: docs
docs:
Expand Down

0 comments on commit a2f286c

Please sign in to comment.