From 7e1738f59c6d9682ee6d1250e65a183d46af386d Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Fri, 6 Sep 2024 12:54:34 +0200 Subject: [PATCH] Add the cargo checks to the check script --- scripts/check | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/check b/scripts/check index c0b8274..9a01b0f 100755 --- a/scripts/check +++ b/scripts/check @@ -5,3 +5,7 @@ npx tsc --noEmit npx svelte-check --tsconfig tsconfig.json --fail-on-warnings --compiler-warnings missing-custom-element-compile-options:ignore npx eslint --cache --cache-location node_modules/.cache/eslint --max-warnings 0 . npx prettier "**/*.@(ts|js|svelte|json|css|html|yml)" --ignore-path .gitignore --check --cache + +cargo check --manifest-path ./src-tauri/Cargo.toml +cargo clippy --manifest-path ./src-tauri/Cargo.toml +cargo fmt --manifest-path ./src-tauri/Cargo.toml --check