summaryrefslogtreecommitdiff
path: root/tiled-hs.cabal
diff options
context:
space:
mode:
authorstuebinm2021-09-16 23:18:14 +0200
committerstuebinm2021-09-16 23:18:14 +0200
commit7a9226d84cf9dde33d0fc3e7852a22c36ab1c39b (patch)
tree428079b8bd891dc09bedc594e149fc9799c82816 /tiled-hs.cabal
parentde81f6cac440fff159546f6423f017197db49e1a (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 '')
-rw-r--r--tiled-hs.cabal14
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