Skip to content

Commit 7a72aca

Browse files
committed
.vscode,README.md: add some development documentation
1 parent 1a205b9 commit 7a72aca

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.vscode/tasks.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "Test Features",
6+
"type": "shell",
7+
"command": "npx @devcontainers/cli features test",
8+
"group": {
9+
"kind": "test",
10+
"isDefault": true
11+
},
12+
"presentation": {
13+
"reveal": "always",
14+
"panel": "dedicated",
15+
"clear": true
16+
},
17+
"problemMatcher": []
18+
},
19+
]
20+
}

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,16 @@ sudo tailscale up --accept-routes
2424

2525
You'll only need to run `tailscale up` once per Codespace.
2626
The Tailscale state will be saved between rebuilds.
27+
28+
## Development
29+
30+
A convenient way to develop this feature is to use codespaces, as they start by
31+
default with many of the dependencies required (at least Docker and npx).
32+
33+
Inside a codespace you can use the `Tasks:Run Test Task` command.
34+
35+
On a standalone machine tests can be run with:
36+
37+
```shell
38+
npx @devcontainers/cli features test
39+
```

0 commit comments

Comments
 (0)