plaster/ModuleBuild/scaffold/vscode/tasks.json
// Available variables which can be used inside of strings.
// ${workspaceRoot}: the root folder of the team // ${file}: the current opened file // ${relativeFile}: the current opened file relative to workspaceRoot // ${fileBasename}: the current opened file's basename // ${fileDirname}: the current opened file's dirname // ${fileExtname}: the current opened file's extension // ${cwd}: the current working directory of the spawned process { // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "Build Module", "type": "shell", "windows": { "command": "powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File ${workspaceRoot}\\Build.ps1 -BuildModule" }, "linux": { "command": "/usr/bin/powershell -NoProfile -File ${workspaceRoot}\\Build.ps1" }, "osx": { "command": "/usr/local/bin/powershell -NoProfile -File ${workspaceRoot}\\Build.ps1" }, "group": { "kind": "build", "isDefault": true }, "presentation": { "reveal": "always", "panel": "new" } }, { "label": "Build, Install, and Load Module", "type": "shell", "windows": { "command": "powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File ${workspaceRoot}\\Build.ps1 -BuildModule -InstallAndTestModule" }, "linux": { "command": "/usr/bin/powershell -NoProfile -File ${workspaceRoot}\\Build.ps1 -BuildModule -InstallAndTestModule" }, "osx": { "command": "/usr/local/bin/powershell -NoProfile -File ${workspaceRoot}\\Build.ps1 -BuildModule -InstallAndTestModule" }, "group": { "kind": "build", "isDefault": true }, "presentation": { "reveal": "always", "panel": "new" } }, { "label": "Build, Install, Load, and Publish Module", "type": "shell", "windows": { "command": "powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File ${workspaceRoot}\\Build.ps1 -BuildModule -InstallAndTestModule -UploadPSGallery" }, "linux": { "command": "/usr/bin/powershell -NoProfile -File ${workspaceRoot}\\Build.ps1 -BuildModule -InstallAndTestModule -UploadPSGallery" }, "osx": { "command": "/usr/local/bin/powershell -NoProfile -File ${workspaceRoot}\\Build.ps1 -BuildModule -InstallAndTestModule -UploadPSGallery" }, "group": { "kind": "build", "isDefault": true }, "presentation": { "reveal": "always", "panel": "new" } }, { "label": "Insert Missing Comment Based Help", "type": "shell", "windows": { "command": "powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File ${workspaceRoot}\\Build.ps1 -InsertMissingCBH" }, "linux": { "command": "/usr/bin/powershell -NoProfile -File ${workspaceRoot}\\Build.ps1 -InsertMissingCBH" }, "osx": { "command": "/usr/local/bin/powershell -NoProfile -File ${workspaceRoot}\\Build.ps1 -InsertMissingCBH" }, "group": { "kind": "build", "isDefault": true }, "presentation": { "reveal": "always", "panel": "new" } } ] } |