From 8ccd9b73e214a661e3c708eed4ed9a898f364d18 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Thu, 30 Nov 2023 17:45:15 +0100 Subject: [PATCH] Make sure `check.sh` installs all tools it uses --- scripts/cargo_deny.sh | 3 ++- scripts/check.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/cargo_deny.sh b/scripts/cargo_deny.sh index fa0ccc3c..304bf9b7 100755 --- a/scripts/cargo_deny.sh +++ b/scripts/cargo_deny.sh @@ -5,7 +5,8 @@ script_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) cd "$script_path/.." set -x -# cargo install cargo-deny +cargo install cargo-deny + cargo deny --all-features --log-level error --target aarch64-apple-darwin check cargo deny --all-features --log-level error --target aarch64-linux-android check cargo deny --all-features --log-level error --target i686-pc-windows-gnu check diff --git a/scripts/check.sh b/scripts/check.sh index 145198c3..eb9cee8c 100755 --- a/scripts/check.sh +++ b/scripts/check.sh @@ -10,6 +10,7 @@ set -x # Basically does what the CI does. cargo install cargo-cranky # Uses lints defined in Cranky.toml. See https://github.com/ericseppanen/cargo-cranky +cargo install typos-cli # web_sys_unstable_apis is required to enable the web_sys clipboard API which eframe web uses, # as well as by the wasm32-backend of the wgpu crate.