{ // 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": "Build (Windows)", "type": "shell", "command": "bundle", "args": [ "exec", "jekyll", "build", "--incremental", "--destination", "build" ], "group": { "kind": "build", "isDefault": true }, "problemMatcher": [] }, { "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 (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": [] } ] }