Skip to content

Commit f40632e

Browse files
committed
add vscode config
1 parent 9babddb commit f40632e

File tree

3 files changed

+86
-0
lines changed

3 files changed

+86
-0
lines changed

.vscode/keybindings.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[
2+
{
3+
"key": "f7",
4+
"command": "workbench.action.tasks.runTask"
5+
}
6+
]

.vscode/settings.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"files.associations": {
3+
"*.template": "gohtml"
4+
}
5+
}

.vscode/tasks.json

+75
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "make docs",
6+
"type": "shell",
7+
"command": "make docs",
8+
"presentation": {
9+
"showReuseMessage": false,
10+
"reveal": "silent"
11+
}
12+
},
13+
{
14+
"label": "make templates",
15+
"type": "shell",
16+
"command": "make templates",
17+
"presentation": {
18+
"showReuseMessage": false,
19+
"reveal": "silent"
20+
}
21+
},
22+
{
23+
"label": "make license",
24+
"type": "shell",
25+
"command": "make license",
26+
"presentation": {
27+
"showReuseMessage": false,
28+
"reveal": "silent"
29+
},
30+
"dependsOn": [
31+
"make templates"
32+
]
33+
},
34+
{
35+
"label": "make local build",
36+
"type": "shell",
37+
"command": "make",
38+
"dependsOrder": "sequence",
39+
"dependsOn": [
40+
"make license",
41+
"make docs"
42+
],
43+
"problemMatcher": [],
44+
"presentation": {
45+
"showReuseMessage": false
46+
}
47+
},
48+
{
49+
"label": "run server",
50+
"type": "shell",
51+
"command": "bin/caddy",
52+
"args": [
53+
"run",
54+
"-config",
55+
"/etc/gatekeeper/Caddyfile"
56+
],
57+
"presentation": {
58+
"echo": true,
59+
"reveal": "always",
60+
"focus": true,
61+
"panel": "shared",
62+
"showReuseMessage": true,
63+
"clear": false
64+
},
65+
"problemMatcher": [],
66+
"group": {
67+
"kind": "build",
68+
"isDefault": true
69+
},
70+
"dependsOn": [
71+
"make local build"
72+
]
73+
}
74+
]
75+
}

0 commit comments

Comments
 (0)