Files
com.xaymar.www/.vscode/tasks.json
T
Michael Fabian 'Xaymar' Dirks df83ae78d0 Fix up some vscode stuff
2023-04-04 20:51:29 +02:00

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": []
}
]
}