Allow serve and build from WSL
This commit is contained in:
Vendored
+50
-4
@@ -4,7 +4,7 @@
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Serve",
|
||||
"label": "Serve (Windows)",
|
||||
"type": "shell",
|
||||
"command": "bundle",
|
||||
"args": [
|
||||
@@ -22,7 +22,30 @@
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Build",
|
||||
"label": "Serve (WSL)",
|
||||
"type": "process",
|
||||
"options": {
|
||||
"cwd": "build"
|
||||
},
|
||||
"command": "wsl",
|
||||
"args": [
|
||||
"-e",
|
||||
"bundle",
|
||||
"exec",
|
||||
"jekyll",
|
||||
"serve",
|
||||
"--watch",
|
||||
"--trace",
|
||||
"--livereload",
|
||||
"--future",
|
||||
"--unpublished",
|
||||
"--drafts"
|
||||
],
|
||||
"group": "none",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Build (Windows)",
|
||||
"type": "shell",
|
||||
"command": "bundle",
|
||||
"args": [
|
||||
@@ -40,9 +63,32 @@
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Publish",
|
||||
"label": "Build (WSL)",
|
||||
"type": "process",
|
||||
"options": {
|
||||
"cwd": "build"
|
||||
},
|
||||
"command": "wsl",
|
||||
"args": [
|
||||
"-e",
|
||||
"bundle",
|
||||
"exec",
|
||||
"jekyll",
|
||||
"build",
|
||||
"--incremental",
|
||||
"--destination",
|
||||
"build"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Publish (WSL+Windows)",
|
||||
"dependsOn": [
|
||||
"Build"
|
||||
"Build (Windows)"
|
||||
],
|
||||
"type": "process",
|
||||
"options": {
|
||||
|
||||
Reference in New Issue
Block a user