From f5f56b606ce1bbec9abc161a3c2169644333a0ec Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Fri, 5 Sep 2025 18:50:42 +0200 Subject: [PATCH 1/3] refactor: :pencil2: use `update`, not `add` for Quarto extension --- justfile | 3 ++- template/justfile.jinja | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index f5dbea1..21bda8a 100644 --- a/justfile +++ b/justfile @@ -20,7 +20,8 @@ install-precommit: # Update the Quarto seedcase-theme extension update-quarto-theme: - quarto add seedcase-project/seedcase-theme --no-prompt + # Add theme if it doesn't exist, update if it does + quarto update seedcase-project/seedcase-theme --no-prompt # Update files in the template from the copier parent folder update-template: diff --git a/template/justfile.jinja b/template/justfile.jinja index ac39c56..3b17158 100644 --- a/template/justfile.jinja +++ b/template/justfile.jinja @@ -28,7 +28,8 @@ install-precommit: {%- if is_seedcase_project %} # Update the Quarto seedcase-theme extension update-quarto-theme: - quarto add seedcase-project/seedcase-theme --no-prompt + # Will add if not already installed, otherwise updates. + quarto update seedcase-project/seedcase-theme --no-prompt {%- endif %} # Install Python package dependencies From d5c67756589b81cdde1ad992e20c54a01610122f Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Fri, 5 Sep 2025 19:40:05 +0200 Subject: [PATCH 2/3] refactor: :pencil2: match with other comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Signe Kirk Brødbæk <40836345+signekb@users.noreply.github.com> --- template/justfile.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/justfile.jinja b/template/justfile.jinja index 3b17158..6355c86 100644 --- a/template/justfile.jinja +++ b/template/justfile.jinja @@ -28,7 +28,7 @@ install-precommit: {%- if is_seedcase_project %} # Update the Quarto seedcase-theme extension update-quarto-theme: - # Will add if not already installed, otherwise updates. + # # Add theme if it doesn't exist, update if it does quarto update seedcase-project/seedcase-theme --no-prompt {%- endif %} From 08142c6290ef2c49eb4a5bb26c6ac641822e91a7 Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Fri, 5 Sep 2025 19:40:37 +0200 Subject: [PATCH 3/3] refactor: :pencil2: remove double `#` --- template/justfile.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/justfile.jinja b/template/justfile.jinja index 6355c86..805feac 100644 --- a/template/justfile.jinja +++ b/template/justfile.jinja @@ -28,7 +28,7 @@ install-precommit: {%- if is_seedcase_project %} # Update the Quarto seedcase-theme extension update-quarto-theme: - # # Add theme if it doesn't exist, update if it does + # Add theme if it doesn't exist, update if it does quarto update seedcase-project/seedcase-theme --no-prompt {%- endif %}