From 2fe25c4fc7a0f7b32ed4a4291f63dccf77c6a6b2 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Sat, 21 Jun 2025 14:24:36 -0400 Subject: [PATCH] update clean recipe --- justfile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index ca4213b..37656df 100644 --- a/justfile +++ b/justfile @@ -1,2 +1,14 @@ clean: - rm -r dist/ __pycache__/ + #!/bin/sh + if [ ! -d "dist" ] && [ ! -d "__pycache__" ]; then + echo "Nothing to clean." + exit 0 + fi + if [ -d "dist" ]; then + echo "Removing dist/" + rm -r dist/ + fi + if [ -d "__pycache__" ]; then + echo "Removing __pycache__/" + rm -r "__pycache__" + fi