From a52b1e16cce15621b38375e70e4242e5c6cc9abf Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Sun, 2 Oct 2022 17:53:42 +0100 Subject: [PATCH] cargo run adds junk to the environment --- justfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index 23837d70..542861fd 100644 --- a/justfile +++ b/justfile @@ -69,7 +69,8 @@ update-linker-scripts: publish: (_run-tool "publish") _run-tool +tool: - cargo run --manifest-path "{{justfile_directory() + "/tools/Cargo.toml"}}" -- {{tool}} + (cd tools && cargo build) + tools/target/debug/tools {{tool}} _build-rom folder name: #!/usr/bin/env bash