Skip to content

Commit

Permalink
Add Pester build system
Browse files Browse the repository at this point in the history
Add a Pester build system for PowerShell files which runs
Invoke-Pester at the current location.
  • Loading branch information
theaquamarine committed Dec 8, 2018
1 parent 46879ab commit eb46c89
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Support/Pester.sublime-build
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"cmd": ["pwsh", "-NoProfile","-NonInteractive", "-ExecutionPolicy", "Bypass","-Command","Invoke-Pester"],
"selector": "source.powershell",
"file_regex": "at <ScriptBlock>, (.+): line ([0-9]+)$",

"windows": {
"cmd": ["powershell.exe", "-NoProfile","-NonInteractive", "-ExecutionPolicy", "Bypass","-Command","Invoke-Pester"],
}
}

0 comments on commit eb46c89

Please sign in to comment.