cabal-version: 2.0

-- This file has been generated from package.yaml by hpack version 0.34.5.
--
-- see: https://github.com/sol/hpack

name:           walint
version:        0.1
homepage:       https://stuebinm.eu/git/walint
author:         stuebinm
maintainer:     stuebinm@disroot.org
copyright:      2022 stuebinm
build-type:     Simple

library
  exposed-modules:
      CheckDir
      CheckMap
      WriteRepo
      Util
      Types
      LintConfig
  other-modules:
      Badges
      Dirgraph
      KindLinter
      LayerData
      LintWriter
      Paths
      Properties
      Uris
      Paths_walint
  hs-source-dirs:
      lib
  default-extensions:
      NoImplicitPrelude
  ghc-options: -Wall -Wno-name-shadowing -Wno-unticked-promoted-constructors
  build-depends:
      HList
    , aeson
    , base
    , bytestring
    , containers
    , deepseq
    , dotgen
    , either
    , extra
    , filepath
    , getopt-generics
    , network-uri
    , regex-tdfa
    , text
    , text-metrics
    , tiled
    , transformers
    , universum
    , uri-encode
    , vector
  default-language: Haskell2010

library tiled
  exposed-modules:
      Data.Tiled
      Data.Tiled.Abstract
  other-modules:
      Paths_walint
  hs-source-dirs:
      tiled
  default-extensions:
      NoImplicitPrelude
  ghc-options: -Wall -Wno-name-shadowing -Wno-unticked-promoted-constructors
  build-depends:
      aeson
    , base
    , bytestring
    , text
    , universum
    , vector
  default-language: Haskell2010

executable cwality-maps
  main-is: Main.hs
  other-modules:
      Config
      Substitute
      Paths_walint
  hs-source-dirs:
      cwality-maps
  default-extensions:
      NoImplicitPrelude
  ghc-options: -Wall -Wno-name-shadowing -Wno-unticked-promoted-constructors -rtsopts -threaded
  build-depends:
      aeson
    , base
    , base64
    , bytestring
    , containers
    , directory
    , filepath
    , fmt
    , microlens-platform
    , monad-logger
    , mustache
    , parsec
    , servant
    , servant-server
    , text
    , tiled
    , tomland
    , universum
    , wai
    , wai-extra
    , warp
  default-language: Haskell2010

executable walint
  main-is: Main.hs
  other-modules:
      Version
      Paths_walint
  hs-source-dirs:
      src
  default-extensions:
      NoImplicitPrelude
  ghc-options: -Wall -Wno-name-shadowing -Wno-unticked-promoted-constructors
  build-depends:
      aeson
    , aeson-pretty
    , base
    , bytestring
    , getopt-generics
    , process
    , template-haskell
    , text
    , universum
    , walint
  default-language: Haskell2010

executable walint-mapserver
  main-is: Main.hs
  other-modules:
      Handlers
      HtmlOrphans
      Server
      Worker
      Paths_walint
  hs-source-dirs:
      server
  default-extensions:
      NoImplicitPrelude
  ghc-options: -Wall -Wno-name-shadowing -Wno-unticked-promoted-constructors -rtsopts -threaded
  build-depends:
      aeson
    , async
    , base
    , base-compat
    , base64-bytestring
    , bytestring
    , containers
    , cryptohash-sha1
    , directory
    , extra
    , filepath
    , fmt
    , getopt-generics
    , http-client
    , http-types
    , lucid
    , microlens-platform
    , monad-logger
    , process
    , servant
    , servant-client
    , servant-lucid
    , servant-server
    , servant-websockets
    , stm
    , text
    , time
    , tomland
    , universum
    , uuid
    , wai
    , wai-extra
    , walint
    , warp
    , websockets
  default-language: Haskell2010