#:schema https://json.schemastore.org/any.json

root = "."
tmp_dir = "tmp"

[build]
  cmd = "go run ./cmd/buildstyles && pnpm exec tailwindcss -i tailwind.input.css -o static/tailwind.css --cwd . && go run github.com/a-h/templ/cmd/templ@v0.3.1020 generate && go run github.com/sqlc-dev/sqlc/cmd/sqlc@v1.31.1 generate && go build -o ./tmp/main ."
  entrypoint = ["./tmp/main"]
  include_ext = ["go", "templ", "sql", "css", "html", "png", "svg", "webmanifest", "json"]
  exclude_dir = ["tmp", "vendor", ".git", "internal/db/sqlc"]
  exclude_regex = ["_templ\\.go$", "static/(styles|tailwind)\\.css$"]
  delay = 200
  stop_on_error = true
  send_interrupt = true
  kill_delay = "500ms"

[color]
  main = "magenta"
  watcher = "cyan"
  build = "yellow"
  runner = "green"

[log]
  time = true

[misc]
  clean_on_exit = true
