cabal-version: 1.12

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

name:           brok
version:        1.1.0
synopsis:       Finds broken links in text files
description:    Please see the README on GitHub at <https://github.com/smallhadroncollider/brok#readme>
category:       Command Line Tools
homepage:       https://github.com/smallhadroncollider/brok#readme
bug-reports:    https://github.com/smallhadroncollider/brok/issues
author:         Small Hadron Collider
maintainer:     mark@smallhadroncollider.com
copyright:      2019 Small Hadron Collider
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    template/usage.txt

source-repository head
  type: git
  location: https://github.com/smallhadroncollider/brok

library
  exposed-modules:
      Brok
      Brok.IO.CLI
      Brok.IO.DB
      Brok.IO.Document
      Brok.IO.Http
      Brok.IO.Output
      Brok.Options
      Brok.Parser.Attoparsec
      Brok.Parser.DB
      Brok.Parser.Links
      Brok.Parser.Options
      Brok.Types.Brok
      Brok.Types.Config
      Brok.Types.Document
      Brok.Types.Link
      Brok.Types.Next
      Brok.Types.URL
  other-modules:
      Paths_brok
  hs-source-dirs:
      src
  default-extensions: OverloadedStrings NoImplicitPrelude
  build-depends:
      ansi-terminal
    , attoparsec
    , base >=4.7 && <5
    , classy-prelude
    , connection
    , containers
    , directory
    , file-embed
    , http-client
    , http-client-tls
    , http-conduit
    , template-haskell
    , text
    , time
  default-language: Haskell2010

executable brok
  main-is: Main.hs
  other-modules:
      Paths_brok
  hs-source-dirs:
      app
  default-extensions: OverloadedStrings NoImplicitPrelude
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , brok
    , classy-prelude
    , file-embed
  default-language: Haskell2010

test-suite brok-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      IO.HttpTest
      OptionsTest
      Parser.DBTest
      Parser.LinksTest
      Paths_brok
  hs-source-dirs:
      test
  default-extensions: OverloadedStrings NoImplicitPrelude
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , brok
    , classy-prelude
    , file-embed
    , tasty
    , tasty-discover
    , tasty-expected-failure
    , tasty-hunit
  default-language: Haskell2010