Skip to content

Commit c6b55e6

Browse files
committed
Merge pull request #167 from erran/powershell-support
Add File Based PowerShell support
2 parents ccf04d3 + 3bae971 commit c6b55e6

File tree

5 files changed

+12
-1
lines changed

5 files changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.8.0
2+
* Add Swift support
3+
* Add PowerShell support
4+
15
## 2.7.0
26
* The escape key will now close the script output pane
37
* More tests, because this project definitely needs more tests

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ You only have to add a few lines in a PR to support another.
4242

4343
<sup>†</sup> Erlang uses `erl` for limited selection based runs (see [#70](https://github.com/rgbkrk/atom-script/pull/70))
4444

45-
<sup>\*</sup> Cucumber (Gherkin), Go, F#, and Swift do not support selection based runs
45+
<sup>\*</sup> Cucumber (Gherkin), Go, F#, PowerShell, and Swift do not support selection based runs
4646

4747
## Installation
4848

examples/hello_world.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Write-Output "Hello World - From Script"

lib/grammars.coffee

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,11 @@ module.exports =
153153
command: "perl"
154154
args: (context) -> [context.filepath]
155155

156+
PowerShell:
157+
"File Based":
158+
command: "powershell"
159+
args: (context) -> [context.filepath]
160+
156161
Python:
157162
"Selection Based":
158163
command: "python"

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"newLISP",
5050
"Perl",
5151
"PHP",
52+
"PowerShell",
5253
"Python",
5354
"RSpec",
5455
"Ruby",

0 commit comments

Comments
 (0)