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": {
|
||||
|
||||
@@ -16,6 +16,7 @@ GEM
|
||||
em-websocket (0.5.3)
|
||||
eventmachine (>= 0.12.9)
|
||||
http_parser.rb (~> 0)
|
||||
ffi (1.15.5)
|
||||
ffi (1.15.5-x64-mingw-ucrt)
|
||||
ffi (1.15.5-x64-mingw32)
|
||||
forwardable-extended (2.6.0)
|
||||
@@ -84,6 +85,7 @@ GEM
|
||||
PLATFORMS
|
||||
x64-mingw-ucrt
|
||||
x64-mingw32
|
||||
x86_64-linux
|
||||
|
||||
DEPENDENCIES
|
||||
eventmachine (= 1.2.7)!
|
||||
|
||||
Reference in New Issue
Block a user