Skip to content

Commit 687e822

Browse files
author
UncleBats
committed
vscode stuff
1 parent fd10c32 commit 687e822

2 files changed

Lines changed: 71 additions & 0 deletions

File tree

.vscode/launch.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Preview GitHub Pages",
6+
"type": "node",
7+
"request": "launch",
8+
"preLaunchTask": "Start Jekyll Server",
9+
"serverReadyAction": {
10+
"pattern": "Server address: (https?://[0-9a-z.-]+:[0-9]+)",
11+
"uriFormat": "http://localhost:4000",
12+
"action": "openExternally"
13+
},
14+
"presentation": {
15+
"hidden": false,
16+
"group": "Jekyll",
17+
"order": 1
18+
}
19+
}
20+
]
21+
}

.vscode/tasks.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "Start Jekyll Server",
6+
"type": "shell",
7+
"command": "bundle exec jekyll serve --host 0.0.0.0 --livereload",
8+
"options": {
9+
"cwd": "${workspaceFolder}/docs"
10+
},
11+
"isBackground": true,
12+
"problemMatcher": {
13+
"pattern": {
14+
"regexp": "^([^\\s].*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
15+
"file": 1,
16+
"line": 2,
17+
"column": 3,
18+
"severity": 4,
19+
"message": 5
20+
},
21+
"background": {
22+
"activeOnStart": true,
23+
"beginsPattern": "^\\s*Regenerating:",
24+
"endsPattern": "^.*Server running.*"
25+
}
26+
},
27+
"presentation": {
28+
"reveal": "always",
29+
"panel": "dedicated",
30+
"focus": false
31+
},
32+
"group": {
33+
"kind": "build",
34+
"isDefault": true
35+
}
36+
},
37+
{
38+
"label": "Install Jekyll Dependencies",
39+
"type": "shell",
40+
"command": "bundle install",
41+
"options": {
42+
"cwd": "${workspaceFolder}/docs"
43+
},
44+
"presentation": {
45+
"reveal": "always",
46+
"panel": "dedicated"
47+
}
48+
}
49+
]
50+
}

0 commit comments

Comments
 (0)