diff options
author | stuebinm | 2021-09-16 23:18:14 +0200 |
---|---|---|
committer | stuebinm | 2021-09-16 23:18:14 +0200 |
commit | 7a9226d84cf9dde33d0fc3e7852a22c36ab1c39b (patch) | |
tree | 428079b8bd891dc09bedc594e149fc9799c82816 /tiled-hs.cabal | |
parent | de81f6cac440fff159546f6423f017197db49e1a (diff) |
input options, output json
input options are mostly dummies for now, but some work (e.g. --inpath
and --json). Lints can now be optionally printed as json to be
reasonably machine-readable (and the json can be pretty-printed to make
it human-readable again …).
Diffstat (limited to 'tiled-hs.cabal')
-rw-r--r-- | tiled-hs.cabal | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/tiled-hs.cabal b/tiled-hs.cabal index 094d31b..9b7b171 100644 --- a/tiled-hs.cabal +++ b/tiled-hs.cabal @@ -26,6 +26,7 @@ library ghc-options: -Wall hs-source-dirs: lib exposed-modules: + CheckMap LintWriter Properties Tiled2 @@ -43,13 +44,14 @@ library -- TODO: move more stuff into lib, these dependencies are silly executable tiled-hs main-is: Main.hs + ghc-options: -Wall build-depends: base ^>=4.14.1.0, - aeson, - text, tiled-hs, - transformers, - containers, - vector, - mtl + getopt-generics, + aeson, + aeson-pretty, + bytestring, + bytestring-encoding, + text hs-source-dirs: src default-language: Haskell2010 |