From 869c5a0e68589404d5bd3927640dceef907194bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20Bary=C5=82a?= Date: Mon, 11 Dec 2023 22:59:48 +0100 Subject: [PATCH] Makefile: build and check benches 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. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 7cdaeb2d13..72396cd0a7 100644 --- a/Makefile +++ b/Makefile @@ -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 "" + cargo check --manifest-path "scylla/Cargo.toml" --features "" --all-targets .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 @@ -42,7 +42,7 @@ dockerized-test: up .PHONY: build build: - cargo build --examples + cargo build --examples --benches .PHONY: docs docs: