From 2e4b352e179dc327ce8fb5d52d6fd26da3f4d075 Mon Sep 17 00:00:00 2001 From: Tobias Brumhard Date: Fri, 5 May 2023 14:15:14 +0200 Subject: [PATCH] Recreate bin folder on compilation --- maskfile.md | 1 + 1 file changed, 1 insertion(+) diff --git a/maskfile.md b/maskfile.md index 8dd11a0..70483ac 100644 --- a/maskfile.md +++ b/maskfile.md @@ -56,6 +56,7 @@ targets=$(yq -o json -p toml -r '.toolchain.targets[]' rust-toolchain) if [ "$filter" != "" ]; then targets=$(echo "$targets"|rg "$filter") fi +rm -rf "$out_dir"/bin mkdir -p "$out_dir"/bin for target in $targets; do echo "building for $target"