Skip to content

Commit eb46c89

Browse files
committed
Add Pester build system
Add a Pester build system for PowerShell files which runs Invoke-Pester at the current location.
1 parent 46879ab commit eb46c89

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Support/Pester.sublime-build

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"cmd": ["pwsh", "-NoProfile","-NonInteractive", "-ExecutionPolicy", "Bypass","-Command","Invoke-Pester"],
3+
"selector": "source.powershell",
4+
"file_regex": "at <ScriptBlock>, (.+): line ([0-9]+)$",
5+
6+
"windows": {
7+
"cmd": ["powershell.exe", "-NoProfile","-NonInteractive", "-ExecutionPolicy", "Bypass","-Command","Invoke-Pester"],
8+
}
9+
}

0 commit comments

Comments
 (0)