From 8c0d06bc68bdb9b3b677777b7be246729cff45a6 Mon Sep 17 00:00:00 2001 From: weishu Date: Thu, 29 Feb 2024 20:35:03 +0800 Subject: [PATCH] misc: Add just command --- justfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/justfile b/justfile index b36fd50ffae9..51bef767d4a9 100644 --- a/justfile +++ b/justfile @@ -8,3 +8,7 @@ build_manager: build_ksud cp userspace/ksud/target/aarch64-linux-android/release/ksud manager/app/src/main/jniLibs/arm64-v8a/libksud.so cd manager && ./gradlew aDebug +clippy: + cargo fmt --manifest-path ./userspace/ksud/Cargo.toml + cross clippy --target x86_64-pc-windows-gnu --release --manifest-path ./userspace/ksud/Cargo.toml + cross clippy --target aarch64-linux-android --release --manifest-path ./userspace/ksud/Cargo.toml