summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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