rano/taskfile.yml
Ankit Patial 45c318b897 - graph, dotenv read
- graph, cors and secure header
- web, urql client basic setup
2024-11-04 11:35:43 +05:30

40 lines
670 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
codegen:
desc: generate graph types
dotenv: ['.env.{{.ENV}}']
cmds:
- cmd: deno task codegen
web:
desc: run web in dev mode
dotenv: ['.env.{{.ENV}}']
cmds:
- cmd: deno task dev