Files
waste-rs/.vscode/tasks.json

39 lines
1.5 KiB
JSON
Raw Normal View History

{
"version": "2.0.0",
"tasks": [
{
"label": "cargo build (all)",
"type": "shell",
"command": "cargo build --workspace",
"group": { "kind": "build", "isDefault": true },
"problemMatcher": ["$rustc"],
"presentation": { "reveal": "always", "panel": "shared" }
},
{
"label": "cargo clippy",
"type": "shell",
"command": "cargo clippy --workspace -- -D warnings",
"group": "test",
"problemMatcher": ["$rustc"]
},
{
"label": "run relay (local)",
"type": "shell",
"command": "RUST_LOG=debug cargo run --bin waste-relay -- --bind 127.0.0.1:17339",
"presentation": { "reveal": "always", "panel": "dedicated", "group": "runtime" }
},
{
"label": "run daemon (peer A)",
"type": "shell",
"command": "RUST_LOG=debug cargo run --bin waste-daemon -- --alias peer-a --peer-port 17338 --ipc-port 17337 --data-dir /tmp/waste-a",
"presentation": { "reveal": "always", "panel": "dedicated", "group": "runtime" }
},
{
"label": "run daemon (peer B)",
"type": "shell",
"command": "RUST_LOG=debug cargo run --bin waste-daemon -- --alias peer-b --peer-port 17340 --ipc-port 17341 --data-dir /tmp/waste-b",
"presentation": { "reveal": "always", "panel": "dedicated", "group": "runtime" }
}
]
}