summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvmchale <>2018-05-14 23:03:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2018-05-14 23:03:00 (GMT)
commit83111ed89512d56c101e41091b26b4cfb3988feb (patch)
treeeda1ab51bb1be07b33ca555bc57197e1cda91e76
parent68edc2c6dcb789fbff8ba88e480730ca06cad356 (diff)
version 0.1.0.290.1.0.29
-rw-r--r--app/Main.hs14
-rw-r--r--stack.yaml8
-rw-r--r--tomlcheck.cabal7
3 files changed, 15 insertions, 14 deletions
diff --git a/app/Main.hs b/app/Main.hs
index 0adbf45..506f324 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -7,13 +7,15 @@ module Main
( main
) where
-import Control.Monad (zipWithM)
-import qualified Data.Text.IO as TIO
-import GHC.Generics (Generic)
+import Control.Applicative
+import Control.Monad
+import qualified Data.Text.IO as TIO
+import Data.Traversable (traverse)
+import GHC.Generics (Generic)
import Options.Generic
-import System.Exit (ExitCode (..), exitWith)
-import Text.Megaparsec (parseErrorPretty)
-import Text.Toml (parseTomlDoc)
+import System.Exit (ExitCode (..), exitWith)
+import Text.Megaparsec (parseErrorPretty)
+import Text.Toml (parseTomlDoc)
newtype Program = Program { file :: [FilePath] <?> "Path to file to be checked." }
deriving (Generic)
diff --git a/stack.yaml b/stack.yaml
index 307ac11..74d6498 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -1,8 +1,4 @@
---
-resolver: lts-11.4
-packages:
- - './'
+resolver: lts-11.7
extra-deps:
- - htoml-megaparsec-1.1.0.3
- - composition-prelude-1.3.0.8
-extra-package-dbs: []
+ - htoml-megaparsec-1.1.0.4
diff --git a/tomlcheck.cabal b/tomlcheck.cabal
index 04e970e..e938589 100644
--- a/tomlcheck.cabal
+++ b/tomlcheck.cabal
@@ -1,6 +1,6 @@
cabal-version: 1.18
name: tomlcheck
-version: 0.1.0.23
+version: 0.1.0.29
license: BSD3
license-file: LICENSE
copyright: Copyright: (c) 2017-2018 Vanessa McHale
@@ -34,7 +34,7 @@ executable tomlcheck
default-language: Haskell2010
ghc-options: -Wall
build-depends:
- base >=4.8 && <5,
+ base >=4.7 && <5,
htoml-megaparsec >=1.0.1.11,
optparse-generic -any,
megaparsec >=6.0,
@@ -45,3 +45,6 @@ executable tomlcheck
if impl(ghc >=8.0)
ghc-options: -Wincomplete-uni-patterns -Wincomplete-record-updates
+
+ if impl(ghc >=8.4)
+ ghc-options: -Wmissing-export-lists