137 lines
2.1 KiB
JSON
137 lines
2.1 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Serve (Windows)",
|
|
"type": "shell",
|
|
"command": "bundle",
|
|
"args": [
|
|
"exec",
|
|
"jekyll",
|
|
"serve",
|
|
"--watch",
|
|
"--trace",
|
|
"--livereload",
|
|
"--future",
|
|
"--unpublished",
|
|
"--drafts"
|
|
],
|
|
"group": "none",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"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": "Clean (Windows)",
|
|
"type": "shell",
|
|
"command": "bundle",
|
|
"args": [
|
|
"exec",
|
|
"jekyll",
|
|
"clean",
|
|
"--destination",
|
|
"build"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Build (Windows)",
|
|
"dependsOn": [
|
|
"Clean (Windows)"
|
|
],
|
|
"type": "shell",
|
|
"command": "bundle",
|
|
"args": [
|
|
"exec",
|
|
"jekyll",
|
|
"build",
|
|
"--incremental",
|
|
"--destination",
|
|
"build"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Build (WSL)",
|
|
"dependsOn": [
|
|
"Clean (Windows)"
|
|
],
|
|
"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 (Windows)"
|
|
],
|
|
"type": "process",
|
|
"options": {
|
|
"cwd": "build"
|
|
},
|
|
"command": "wsl",
|
|
"args": [
|
|
"-e",
|
|
"/usr/bin/rsync",
|
|
"-v",
|
|
"-h",
|
|
"-P",
|
|
"-a",
|
|
"--delete",
|
|
".",
|
|
"com.xaymar@xaymar.com:/var/www/com.xaymar/public/com.xaymar.www/"
|
|
],
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|