packages feed

hooky-1.0.9: hooky.cabal

cabal-version: 3.0

name: hooky
version: 1.0.9
synopsis: A minimal git hooks manager
description: A minimal git hooks manager.
homepage: https://github.com/brandonchinn178/hooky#readme
bug-reports: https://github.com/brandonchinn178/hooky/issues
author: Brandon Chinn <brandonchinn178@gmail.com>
maintainer: Brandon Chinn <brandonchinn178@gmail.com>
license: BSD-3-Clause
license-file: LICENSE.md
category: Tools
build-type: Simple
extra-source-files:
  README.md
  CHANGELOG.md
  test/**/*.snap.md

source-repository head
  type: git
  location: https://github.com/brandonchinn178/hooky

library
  hs-source-dirs: src
  exposed-modules:
    Hooky.Config
    Hooky.Error
    Hooky.Lint
    Hooky.Run
    Hooky.Internal.GitFile
    Hooky.Internal.Logging
    Hooky.Internal.Messages
    Hooky.Internal.Output
    Hooky.Internal.Temp
    Hooky.Utils.Git
    Hooky.Utils.Glob
    Hooky.Utils.OsPath
    Hooky.Utils.Process
    Hooky.Utils.Term
    Hooky.Utils.Text
  build-depends:
      base < 5
    , ansi-terminal
    , bytestring
    , concurrent-output
    , containers
    , deepseq
    , directory
    , file-io
    , filepath
    , Glob
    , kdl-hs >= 1.1.0
    , os-string
    , process
    , scientific
    , text
    , time
    , unliftio
  default-language: GHC2024
  ghc-options: -Wall -Wcompat

executable hooky
  main-is: src/Main.hs
  other-modules:
    Paths_hooky
  autogen-modules:
    Paths_hooky
  build-depends:
      base
    , containers
    , directory
    , file-io
    , filepath
    , hooky
    , optparse-applicative
    , process
    , text
    , unliftio
  default-language: GHC2024
  ghc-options:
    -Wall -Wcompat
    -- https://github.com/commercialhaskell/stack/issues/3918
    -optP-Wno-nonportable-include-path
    -threaded

test-suite hooky-tests
  type: exitcode-stdio-1.0
  ghc-options: -F -pgmF=skeletest-preprocessor -threaded
  build-tool-depends:
    , skeletest:skeletest-preprocessor
    , hooky:hooky
  hs-source-dirs: test
  main-is: Main.hs
  other-modules:
    Hooky.ConfigSpec
    Hooky.E2ESpec
    Hooky.LintSpec
    Hooky.Utils.GlobSpec
    -- Test utilities
    Hooky.TestUtils.Git
    Hooky.TestUtils.Hooky
  build-depends:
      base
    , containers
    , directory
    , filepath
    , hooky
    , process
    , skeletest >= 0.3.0
    , temporary
    , text
    , unliftio
  default-language: GHC2024
  ghc-options: -Wall -Wcompat