Skip to content

Commit f5f56b6

Browse files
committed
refactor: ✏️ use update, not add for Quarto extension
1 parent 7536e89 commit f5f56b6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

justfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ install-precommit:
2020

2121
# Update the Quarto seedcase-theme extension
2222
update-quarto-theme:
23-
quarto add seedcase-project/seedcase-theme --no-prompt
23+
# Add theme if it doesn't exist, update if it does
24+
quarto update seedcase-project/seedcase-theme --no-prompt
2425

2526
# Update files in the template from the copier parent folder
2627
update-template:

template/justfile.jinja

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ install-precommit:
2828
{%- if is_seedcase_project %}
2929
# Update the Quarto seedcase-theme extension
3030
update-quarto-theme:
31-
quarto add seedcase-project/seedcase-theme --no-prompt
31+
# Will add if not already installed, otherwise updates.
32+
quarto update seedcase-project/seedcase-theme --no-prompt
3233
{%- endif %}
3334

3435
# Install Python package dependencies

0 commit comments

Comments
 (0)