|
33 | 33 |
|
34 | 34 | // Start PowerShell
|
35 | 35 | "windows": {
|
36 |
| - "command": "${env:windir}\\sysnative\\WindowsPowerShell\\v1.0\\powershell.exe", |
| 36 | + "command": "${env:windir}/System32/WindowsPowerShell/v1.0/powershell.exe", |
37 | 37 | "args": [ "-NoProfile", "-ExecutionPolicy", "Bypass" ]
|
38 | 38 | },
|
39 | 39 | "linux": {
|
|
45 | 45 | "args": [ "-NoProfile" ]
|
46 | 46 | },
|
47 | 47 |
|
48 |
| - // Show the output window always |
49 |
| - "showOutput": "always", |
50 |
| - |
51 | 48 | // Associate with test task runner
|
52 | 49 | "tasks": [
|
53 | 50 | {
|
54 | 51 | "taskName": "Clean",
|
55 | 52 | "suppressTaskName": true,
|
56 |
| - "showOutput": "always", |
57 | 53 | "args": [
|
58 | 54 | "Write-Host 'Invoking PSake...'; Invoke-PSake build.ps1 -taskList Clean;",
|
59 | 55 | "Invoke-Command { Write-Host 'Completed Clean task in task runner.' }"
|
|
63 | 59 | "taskName": "Build",
|
64 | 60 | "suppressTaskName": true,
|
65 | 61 | "isBuildCommand": true,
|
66 |
| - "showOutput": "always", |
67 | 62 | "args": [
|
68 | 63 | "Write-Host 'Invoking PSake...'; Invoke-PSake build.ps1 -taskList Build;",
|
69 | 64 | "Invoke-Command { Write-Host 'Completed Build task in task runner.' }"
|
|
72 | 67 | {
|
73 | 68 | "taskName": "Publish",
|
74 | 69 | "suppressTaskName": true,
|
75 |
| - "showOutput": "always", |
76 | 70 | "args": [
|
77 | 71 | "Write-Host 'Invoking PSake...'; Invoke-PSake build.ps1 -taskList Publish;",
|
78 | 72 | "Invoke-Command { Write-Host 'Completed Publish task in task runner.' }"
|
|
82 | 76 | "taskName": "Test",
|
83 | 77 | "suppressTaskName": true,
|
84 | 78 | "isTestCommand": true,
|
85 |
| - "showOutput": "always", |
86 | 79 | "args": [
|
87 | 80 | "Write-Host 'Invoking Pester...'; $ProgressPreference = 'SilentlyContinue'; Invoke-Pester -PesterOption @{IncludeVSCodeMarker=$true};",
|
88 | 81 | "Invoke-Command { Write-Host 'Completed Test task in task runner.' }"
|
|
0 commit comments