-
-
Notifications
You must be signed in to change notification settings - Fork 814
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #517 from dahlbyk/master
Update develop from master
- Loading branch information
Showing
6 changed files
with
82 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,46 @@ | ||
// 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": "0.1.0", | ||
"version": "2.0.0", | ||
|
||
// Start PowerShell | ||
"windows": { | ||
"command": "${env:windir}\\System32\\windowspowershell\\v1.0\\PowerShell.exe" | ||
"options": { | ||
"shell": { | ||
"executable": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", | ||
"args": [ "-NoProfile", "-ExecutionPolicy", "Bypass", "-Command" ] | ||
} | ||
} | ||
}, | ||
"linux": { | ||
"command": "/usr/bin/powershell" | ||
"options": { | ||
"shell": { | ||
"executable": "/usr/bin/pwsh", | ||
"args": [ "-NoProfile", "-Command" ] | ||
} | ||
} | ||
}, | ||
"osx": { | ||
"command": "/usr/local/bin/powershell" | ||
"options": { | ||
"shell": { | ||
"executable": "/usr/local/bin/pwsh", | ||
"args": [ "-NoProfile", "-Command" ] | ||
} | ||
} | ||
}, | ||
|
||
// The command is a shell script | ||
"isShellCommand": true, | ||
|
||
// Show the output window always | ||
"showOutput": "always", | ||
|
||
"args": [ | ||
"-NoProfile", "-ExecutionPolicy", "Bypass" | ||
], | ||
|
||
// Associate with test task runner | ||
"tasks": [ | ||
{ | ||
"taskName": "Test", | ||
"suppressTaskName": true, | ||
"isTestCommand": true, | ||
"showOutput": "always", | ||
"args": [ | ||
"Write-Host 'Invoking Pester'; Invoke-Pester test -PesterOption @{IncludeVSCodeMarker=$true};", | ||
"Invoke-Command { Write-Host 'Completed Test task in task runner.' }" | ||
], | ||
"problemMatcher": "$pester" | ||
"label": "Test", | ||
"type": "shell", | ||
"command": "Invoke-Pester test -PesterOption @{IncludeVSCodeMarker=$true}", | ||
"group": { | ||
"kind": "test", | ||
"isDefault": true | ||
}, | ||
"problemMatcher": [ | ||
"$pester" | ||
] | ||
} | ||
] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters