From 5d7b59c683375390fcec4bce2cbf974ba0d25c52 Mon Sep 17 00:00:00 2001 From: nacho Date: Tue, 31 Oct 2023 13:07:50 +0100 Subject: [PATCH] add cargo sweep -r -i --- rust/Earthfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rust/Earthfile b/rust/Earthfile index a21de40..c8b4180 100644 --- a/rust/Earthfile +++ b/rust/Earthfile @@ -28,8 +28,10 @@ CARGO: find . -type f -regextype posix-egrep -regex \"./$output\" -exec cp --parents \{\} /earthly_lib_rust_temp \; ; cd ..; fi; - echo \"Running cargo sweep -dry-run -r -t $sweep_days\" ; - /tmp/earthly/cargo-sweep sweep --dry-run -r -t $sweep_days;" + echo \"Running cargo sweep -r -t $sweep_days\" ; + /tmp/earthly/cargo-sweep sweep -r -t $sweep_days; + echo \"Running cargo sweep -r -i\" ; + /tmp/earthly/cargo-sweep sweep -r -i;" IF [ "$output" != "" ] RUN mkdir -p target; \ mv /earthly_lib_rust_temp/* target 2>/dev/null || echo "no files found within ./target matching the provided output regexp" ;