rano/taskfile.yml

36 lines
632 B
YAML

version: '3'
env:
ENV: development
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
env:
GRAPH_PORT: 3009
web:
desc: run web in dev mode
cmds:
- cmd: deno task dev
env:
WEB_PORT: 3006
GRAPH_HOST: http://localhost:3009/query