Files
com.xaymar.www/.vscode/tasks.json
T

66 lines
1.0 KiB
JSON
Raw Normal View History

2021-12-24 11:00:43 +01:00
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
2022-01-11 06:09:20 +01:00
"label": "Serve",
2021-12-24 11:00:43 +01:00
"type": "shell",
"command": "bundle",
"args": [
"exec",
"jekyll",
2022-01-11 06:09:20 +01:00
"serve",
"--watch",
"--trace",
"--livereload",
"--future",
"--unpublished",
"--drafts"
2021-12-24 11:00:43 +01:00
],
2022-01-11 06:09:20 +01:00
"group": "none",
"problemMatcher": []
2021-12-24 11:00:43 +01:00
},
{
2022-01-11 06:09:20 +01:00
"label": "Build",
2021-12-24 11:00:43 +01:00
"type": "shell",
"command": "bundle",
"args": [
"exec",
"jekyll",
"build",
2022-01-11 06:09:20 +01:00
"--destination",
"build"
2021-12-24 11:00:43 +01:00
],
2022-01-11 06:09:20 +01:00
"group": "build",
"problemMatcher": []
2021-12-24 11:00:43 +01:00
},
{
2022-01-11 07:22:15 +01:00
"label": "Build & Upload",
"dependsOn": [
2022-01-11 14:30:02 +01:00
"Build"
2022-01-11 07:22:15 +01:00
],
2022-01-11 06:09:20 +01:00
"type": "process",
"options": {
2022-01-11 07:22:15 +01:00
"cwd": "build"
2022-01-11 06:09:20 +01:00
},
"command": "wsl",
2021-12-24 11:00:43 +01:00
"args": [
2022-01-11 06:09:20 +01:00
"-e",
"/usr/bin/rsync",
"-v",
"-P",
"-a",
"--delete",
".",
"www-data@web.svc.xaymar.com:/var/www/com.xaymar.www/"
2021-12-24 11:00:43 +01:00
],
2022-01-11 07:22:15 +01:00
"group": {
"kind": "build",
"isDefault": true
},
2021-12-24 11:00:43 +01:00
"problemMatcher": []
}
]
}