From c84155cbd40b9f207f9d402891db35a43f78328c Mon Sep 17 00:00:00 2001 From: link2xt Date: Fri, 24 Mar 2023 10:08:44 +0000 Subject: [PATCH] Add scripts/deny.sh This can be used to manually run `cargo deny` without specifying all the parameters manually. Similar to existing scripts/clippy.sh --- scripts/README.md | 2 ++ scripts/deny.sh | 2 ++ 2 files changed, 4 insertions(+) create mode 100755 scripts/deny.sh diff --git a/scripts/README.md b/scripts/README.md index d8fdf0360..6b2baac37 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -8,6 +8,8 @@ and an own build machine. - `clippy.sh` runs `cargo clippy` for all Rust code in the project. +- `deny.sh` runs `cargo deny` for all Rust code in the project. + - `../.github/workflows` contains jobs run by GitHub Actions. - `remote_tests_python.sh` rsyncs to a build machine and runs diff --git a/scripts/deny.sh b/scripts/deny.sh new file mode 100755 index 000000000..1b6c9ac0b --- /dev/null +++ b/scripts/deny.sh @@ -0,0 +1,2 @@ +#!/bin/sh +cargo deny --workspace --all-features check -D warnings