From d18afa8989f201108a62c839d08b83113581feba Mon Sep 17 00:00:00 2001 From: Prad N Date: Fri, 30 May 2025 17:52:06 -0400 Subject: [PATCH] build: add automated templ code generation for UI updates --- .github/taskfiles/taskfile.watch.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/taskfiles/taskfile.watch.yml diff --git a/.github/taskfiles/taskfile.watch.yml b/.github/taskfiles/taskfile.watch.yml new file mode 100644 index 0000000..2c13e52 --- /dev/null +++ b/.github/taskfiles/taskfile.watch.yml @@ -0,0 +1,16 @@ + +# yaml-language-server: $schema=https://taskfile.dev/schema.json +version: "3" +silent: true +vars: + GIT_ROOT: + sh: git rev-parse --show-toplevel + +tasks: + templ: + dir: "{{.GIT_ROOT}}" + sources: + - internal/ui/**/*.templ + watch: true + cmds: + - templ generate