From 771b14cd0a09c758aaa6701dab1b42955b8bbae6 Mon Sep 17 00:00:00 2001 From: QuantumEntangledAndy Date: Tue, 3 Aug 2021 10:52:50 +0700 Subject: [PATCH 1/2] Improve workspace handelling - Use `cargo locate-project --workspace` to find workspace manifiest - Add `cargo all` which checks all workspaces and all targets - Fix issue with paths relative to the cargo manifest root --- lib/init.coffee | 2 ++ lib/linter-rust.coffee | 29 +++++++++++++++++++++++++++-- lib/mode.coffee | 3 ++- 3 files changed, 31 insertions(+), 3 deletions(-) diff --git a/lib/init.coffee b/lib/init.coffee index cd08abd..2499a2d 100644 --- a/lib/init.coffee +++ b/lib/init.coffee @@ -26,6 +26,7 @@ module.exports = 'test all' 'rustc' 'clippy' + 'clippy all' ] description: """`cargo` command to run.