rano/taskfile.yml

40 lines
670 B
YAML
Raw Normal View History

2024-11-01 14:25:30 +00:00
version: '3'
2024-11-01 17:49:56 +00:00
2024-11-01 14:25:30 +00:00
env:
ENV: development
2024-11-01 17:49:56 +00:00
2024-11-01 14:25:30 +00:00
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
2024-11-01 17:49:56 +00:00
codegen:
desc: generate graph types
dotenv: ['.env.{{.ENV}}']
2024-11-01 17:49:56 +00:00
cmds:
- cmd: deno task codegen
2024-11-01 14:25:30 +00:00
web:
desc: run web in dev mode
dotenv: ['.env.{{.ENV}}']
2024-11-01 14:25:30 +00:00
cmds:
- cmd: deno task dev