-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
toml: refactor and improve documentation (#2263)
- Loading branch information
Showing
12 changed files
with
751 additions
and
362 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module Main where | ||
|
||
import Dhall.Toml (dhallToTomlMain) | ||
import Dhall.DhallToToml (dhallToTomlMain) | ||
|
||
main :: IO () | ||
main = dhallToTomlMain |
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,14 @@ | ||
module Main where | ||
|
||
import System.FilePath ((</>)) | ||
|
||
import qualified System.Directory | ||
import qualified Test.DocTest | ||
|
||
main :: IO () | ||
main = do | ||
pwd <- System.Directory.getCurrentDirectory | ||
prefix <- System.Directory.makeAbsolute pwd | ||
let src = prefix </> "src" | ||
Test.DocTest.doctest [ "--fast", "-i" <> src, src ] | ||
|
Oops, something went wrong.