summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-12-17 04:17:15 +0000
committerJohn Turner <jturner.usa@gmail.com>2025-12-17 04:17:15 +0000
commit0ec856797256b5d9807929e1b32c03756eb43124 (patch)
treee923f4794a985b859c4e20bae698a2e0e81564ad
parent6b5de6346d81729e9c6b780cccd317cc9dca650c (diff)
downloadgentoo-utils-0ec856797256b5d9807929e1b32c03756eb43124.tar.gz
rust-analyzer.sh: invoke clippy-json directly, which now handles compiling internally
-rwxr-xr-xrust-analyzer.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/rust-analyzer.sh b/rust-analyzer.sh
index a1240b2..d8c6366 100755
--- a/rust-analyzer.sh
+++ b/rust-analyzer.sh
@@ -1,12 +1,5 @@
#!/bin/bash
-# this script is a temporary workaround for not having a proper clippy-json target
-
source /etc/profile
-cd build || exit $?
-
-# compile as far as we can
-ninja
-
-ninja clippy-json
+ninja clippy-json -C build