Skip to content

Commit

Permalink
make: shorten target names
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Obst committed Oct 22, 2024
1 parent 4706e46 commit 40eca41
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@ compile_test_files:
&& pushd test/lkm_samples \
&& ./build.sh

codestyle-check:
bench:
if [ ! -d "src/cwe_checker_lib/benches/_data/" ]; then \
echo "Benchmark binaries not found. Please see src/cwe_checker_lib/benches/benchmarks.rs for instructions."; \
exit -1; \
fi
cargo bench --bench "benchmarks" -- --save-baseline __last_make_run

check:
cargo fmt -- --check
cargo clippy -- -D clippy::all -D missing_docs
cargo clippy -p cwe_checker_lib --bench "benchmarks" -- -D clippy::all
Expand Down

0 comments on commit 40eca41

Please sign in to comment.