Files
waste-go/.vscode/tasks.json

47 lines
1.5 KiB
JSON
Raw Permalink Normal View History

{
"version": "2.0.0",
"tasks": [
{
"label": "build all",
"type": "shell",
"command": "go build ./...",
"group": { "kind": "build", "isDefault": true },
"problemMatcher": ["$go"]
},
{
"label": "go mod tidy",
"type": "shell",
"command": "go mod tidy",
"problemMatcher": []
},
{
"label": "test all",
"type": "shell",
"command": "go test -race ./...",
"group": "test",
"problemMatcher": ["$go"]
},
{
"label": "run relay (local)",
"type": "shell",
"command": "go run ./cmd/relay -bind 127.0.0.1:17339",
"presentation": { "reveal": "always", "panel": "dedicated", "group": "runtime" },
"problemMatcher": []
},
{
"label": "run daemon (peer A)",
"type": "shell",
"command": "go run ./cmd/daemon -alias peer-a -data-dir /tmp/waste-a -peer-port 17338 -ipc-port 17337",
"presentation": { "reveal": "always", "panel": "dedicated", "group": "runtime" },
"problemMatcher": []
},
{
"label": "run daemon (peer B)",
"type": "shell",
"command": "go run ./cmd/daemon -alias peer-b -data-dir /tmp/waste-b -peer-port 17340 -ipc-port 17341",
"presentation": { "reveal": "always", "panel": "dedicated", "group": "runtime" },
"problemMatcher": []
}
]
}