From 6b5e04572f04a51c3d2fd9686fe63e619753dac0 Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Mon, 31 Mar 2025 11:17:33 +0200 Subject: [PATCH] build: :bug: `rm` needs `-f` so it doesn't error when there is no file --- justfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index b125674..83621d8 100644 --- a/justfile +++ b/justfile @@ -25,8 +25,9 @@ format-python: build-website: # To let Quarto know where python is. export QUARTO_PYTHON=.venv/bin/python3 - # Delete any previously built files from quartodoc - rm docs/reference/*.qmd + # Delete any previously built files from quartodoc. + # -f is to not give an error if the files don't exist yet. + rm -f docs/reference/*.qmd poetry run quartodoc build poetry run quarto render --execute