-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add purescript-psa to the supported tools (#3)
- Loading branch information
1 parent
e53c99c
commit 32fa32c
Showing
18 changed files
with
264 additions
and
203 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
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 +1,7 @@ | ||
{"purs":"0.13.8","spago":"0.15.3","purty":"6.2.0","zephyr":"0.3.2"} | ||
{ | ||
"purs": "0.13.8", | ||
"spago": "0.15.3", | ||
"psa": "0.7.3", | ||
"purty": "6.2.0", | ||
"zephyr": "0.3.2" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
const exec = require("@actions/exec"); | ||
|
||
exports.execImpl = exec.exec; |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
-- | Exports functions from the @actions/exec module provided by GitHub | ||
-- | https://github.com/actions/toolkit/tree/main/packages/exec | ||
module Actions.Exec | ||
( exec | ||
) where | ||
|
||
import Prelude | ||
|
||
import Control.Promise (Promise, toAffE) | ||
import Effect.Aff (Aff) | ||
import Effect.Uncurried (EffectFn2, runEffectFn2) | ||
|
||
foreign import execImpl :: EffectFn2 String (Array String) (Promise Number) | ||
|
||
-- | Executes a command on the command line, with arguments | ||
exec :: String -> Array String -> Aff { succeeded :: Boolean } | ||
exec command args = | ||
map ((_ == 0.0) >>> { succeeded: _ }) | ||
$ toAffE | ||
$ runEffectFn2 execImpl command args |
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
Oops, something went wrong.