Allow serve and build from WSL
This commit is contained in:
Vendored
+50
-4
@@ -4,7 +4,7 @@
|
|||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{
|
{
|
||||||
"label": "Serve",
|
"label": "Serve (Windows)",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "bundle",
|
"command": "bundle",
|
||||||
"args": [
|
"args": [
|
||||||
@@ -22,7 +22,30 @@
|
|||||||
"problemMatcher": []
|
"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",
|
"type": "shell",
|
||||||
"command": "bundle",
|
"command": "bundle",
|
||||||
"args": [
|
"args": [
|
||||||
@@ -40,9 +63,32 @@
|
|||||||
"problemMatcher": []
|
"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": [
|
"dependsOn": [
|
||||||
"Build"
|
"Build (Windows)"
|
||||||
],
|
],
|
||||||
"type": "process",
|
"type": "process",
|
||||||
"options": {
|
"options": {
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ GEM
|
|||||||
em-websocket (0.5.3)
|
em-websocket (0.5.3)
|
||||||
eventmachine (>= 0.12.9)
|
eventmachine (>= 0.12.9)
|
||||||
http_parser.rb (~> 0)
|
http_parser.rb (~> 0)
|
||||||
|
ffi (1.15.5)
|
||||||
ffi (1.15.5-x64-mingw-ucrt)
|
ffi (1.15.5-x64-mingw-ucrt)
|
||||||
ffi (1.15.5-x64-mingw32)
|
ffi (1.15.5-x64-mingw32)
|
||||||
forwardable-extended (2.6.0)
|
forwardable-extended (2.6.0)
|
||||||
@@ -84,6 +85,7 @@ GEM
|
|||||||
PLATFORMS
|
PLATFORMS
|
||||||
x64-mingw-ucrt
|
x64-mingw-ucrt
|
||||||
x64-mingw32
|
x64-mingw32
|
||||||
|
x86_64-linux
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
eventmachine (= 1.2.7)!
|
eventmachine (= 1.2.7)!
|
||||||
|
|||||||
Reference in New Issue
Block a user