version: '3' env: ENV: development dotenv: ['.env.{{.ENV}}'] tasks: gen: desc: use go generate, for graph files preconditions: - go mod tidy cmds: - go generate ./graph check: desc: perform go vuln check cmds: - govulncheck -show verbose ./... install: desc: install packages cmds: - deno install --allow-scripts=npm:@sveltejs/kit graph: desc: run graph server cmds: - cmd: go run ./graph/server codegen: desc: generate graph types cmds: - cmd: deno task codegen web: desc: run web in dev mode cmds: - cmd: deno task dev