Skip to content

Commit c9a7f03

Browse files
committed
Jinja2 escape
1 parent 8945503 commit c9a7f03

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

{{cookiecutter.project_name|replace(" ", "")}}/Taskfile.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,16 @@ tasks:
167167
update:
168168
desc: Update the project dev and runtime dependencies
169169
cmds:
170+
171+
sh: "{{ "{{" }}.RUN_SCRIPT{{ "}}" }} {{ "{{" }}.SCRIPTS_DIR{{ "}}" }}/get_platform.sh"
172+
173+
170174
# This currently assumes uv was installed via uv (locally); we will want to make it more flexible in the future
171-
- '{{if ne .GITHUB_ACTIONS "true"}}brew upgrade uv{{end}}'
175+
- '{{ "{{" }}if ne .GITHUB_ACTIONS "true"{{ "}}" }}brew upgrade uv{{ "{{" }}end{{ "}}" }}'
172176
- pre-commit autoupdate --freeze --jobs 4
173177
- uv lock --upgrade
174178
# This can take a while but it's required for the following step to update BuildKit in the docker driver
175-
- '{{if eq .CLI_ARGS "all"}}docker buildx rm multiplatform || true{{end}}'
179+
- '{{ "{{" }}if eq .CLI_ARGS "all"{{ "}}" }}docker buildx rm multiplatform || true{{ "}}" }}end {{ "}}" }}'
176180
# If we just destroyed the "multiplatform" builder instance, this will configure a new one. The next time the host runs a `docker buildx build` it will
177181
# rebuild the builder instance, updating its BuildKit. There's no harm in running this even if we didn't do the `docker buildx rm` previously
178182
- task: init-docker-multiplatform

0 commit comments

Comments
 (0)