Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

feat: add a just check-rust command

Fisher Darling6b48ef752174
diff --git a/justfile b/justfile
index 142a03b21..8091f72e0 100644
--- a/justfile
+++ b/justfile
@@ -53,14 +53,20 @@ package-vscode:
yarn install -f
yarn package-extension
-# Perform format and type checking.
-check:
+check-rust:
#! /bin/bash
set -eo pipefail
- cargo +nightly fmt --check
+ cargo fmt -- --check
cargo clippy -- -Dwarnings -D clippy::dbg_macro
+# Perform format and type checking.
+check:
+ #! /bin/bash
+ set -eo pipefail
+
+ just check-rust
+
cd "{{justfile_directory()}}/packages"
yarn install
yarn prettier --check .