-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install goldplate through cabal file
Stack doesn't understand the new build-tool-depends so removed this for now
- Loading branch information
Showing
10 changed files
with
43 additions
and
80 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
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,4 @@ | ||
packages: *.cabal | ||
package patat | ||
tests: True | ||
flags: +patat-make-man |
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 was deleted.
Oops, something went wrong.
This file was deleted.
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import Goldplate (Options (..), defaultOptions, mainWith) | ||
import System.Exit (exitWith) | ||
|
||
main :: IO () | ||
main = mainWith options >>= exitWith | ||
where | ||
options = defaultOptions | ||
{ oPrettyDiff = True, oPaths = ["tests/golden"] } |
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"command": "patat", | ||
"input_files": "golden/inputs/*", | ||
"input_files": "inputs/*", | ||
"arguments": ["--dump", "--force", "${GOLDPLATE_INPUT_FILE}"], | ||
"environment": { | ||
"HOME": "/dev/null" | ||
}, | ||
"asserts": [ | ||
{"exit_code": 0}, | ||
{"stdout": "golden/outputs/${GOLDPLATE_INPUT_BASENAME}.dump"} | ||
{"stdout": "outputs/${GOLDPLATE_INPUT_BASENAME}.dump"} | ||
] | ||
} |