begin new custom chart implementation for js ui
This commit is contained in:
16
.vscode/tasks.json
vendored
16
.vscode/tasks.json
vendored
@@ -21,6 +21,12 @@
|
||||
// so nothing else would generate it. Tailwind and the Solid bundle are in there too, so
|
||||
// that a -watch=false session serves current artefacts instead of stale ones. Each step
|
||||
// is also exposed on its own, so you can rerun just the one you need.
|
||||
//
|
||||
// The kjol-web tasks (cwd go/cmd/kjol-web) set GOWORK=off: kjol-web is its own module
|
||||
// (module kjolweb, replace kjol => ../..), and inside a parent project the parent's
|
||||
// go.work — which does not list kjolweb — would shadow it and the go command would fail
|
||||
// "main module (...) does not contain package .../kjol-web/...". The kjol-module tasks
|
||||
// (cwd go) keep the workspace, since kjol/go is what a parent's go.work does list.
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
@@ -37,7 +43,7 @@
|
||||
"type": "shell",
|
||||
"command": "go",
|
||||
"args": ["run", "kjol/cmd/wasmgen", "./app"],
|
||||
"options": { "cwd": "${workspaceFolder}/go/cmd/kjol-web" },
|
||||
"options": { "cwd": "${workspaceFolder}/go/cmd/kjol-web", "env": { "GOWORK": "off" } },
|
||||
"problemMatcher": ["$go"],
|
||||
"presentation": { "reveal": "silent", "panel": "shared" },
|
||||
"group": "build"
|
||||
@@ -77,7 +83,7 @@
|
||||
"-out", "wwwroot",
|
||||
"-gen-ts", "frontend/src/ui/generated"
|
||||
],
|
||||
"options": { "cwd": "${workspaceFolder}/go/cmd/kjol-web" },
|
||||
"options": { "cwd": "${workspaceFolder}/go/cmd/kjol-web", "env": { "GOWORK": "off" } },
|
||||
"problemMatcher": ["$go"],
|
||||
"presentation": { "reveal": "silent", "panel": "shared" },
|
||||
"group": "build"
|
||||
@@ -88,7 +94,7 @@
|
||||
"type": "shell",
|
||||
"command": "go",
|
||||
"args": ["run", "./server"],
|
||||
"options": { "cwd": "${workspaceFolder}/go/cmd/kjol-web" },
|
||||
"options": { "cwd": "${workspaceFolder}/go/cmd/kjol-web", "env": { "GOWORK": "off" } },
|
||||
"dependsOn": ["kjol-web: prebuild"],
|
||||
"isBackground": true,
|
||||
"problemMatcher": {
|
||||
@@ -112,7 +118,7 @@
|
||||
"type": "shell",
|
||||
"command": "go",
|
||||
"args": ["run", "./server", "-build"],
|
||||
"options": { "cwd": "${workspaceFolder}/go/cmd/kjol-web" },
|
||||
"options": { "cwd": "${workspaceFolder}/go/cmd/kjol-web", "env": { "GOWORK": "off" } },
|
||||
"problemMatcher": ["$go"],
|
||||
"group": "build"
|
||||
},
|
||||
@@ -159,7 +165,7 @@
|
||||
"detail": "The site's own tests (SSR, the icon registry, the AutoTable export bytes). Its own module, so `kjol: test ./...` does not reach it.",
|
||||
"type": "shell",
|
||||
"command": "go test ./...",
|
||||
"options": { "cwd": "${workspaceFolder}/go/cmd/kjol-web" },
|
||||
"options": { "cwd": "${workspaceFolder}/go/cmd/kjol-web", "env": { "GOWORK": "off" } },
|
||||
"problemMatcher": ["$go"],
|
||||
"group": "test"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user