packages feed

specup-0.1.0.0: specup.cabal

cabal-version:      3.0
name:               specup
version:            0.1.0.0

author: Daniel Rolls
maintainer: daniel.rolls.27@googlemail.com
copyright: (c) 2024 Daniel Rolls
synopsis: Manage the application of templates to custom yaml
description:
        Please see the README on GitHub at <https://github.com/danielrolls/specup>
license: GPL-2.0-only
license-files: LICENSE
category: Documentation

source-repository head
    type: git
    location: https://github.com/danielrolls/specup

common deps
    default-language: GHC2021
    build-depends:
        base >=4.16 && <4.20,
        bytestring >= 0.11.4 && < 0.12,
        text >=1.2.5.0 && <2.2

    default-extensions:
        LambdaCase
        OverloadedStrings

executable specup
    import: deps
    main-is: Main.hs
    build-depends:
        optparse-applicative >=0.17.1.0 && <0.18,
        specup >=0
    hs-source-dirs: app

library
    import: deps
    exposed-modules:
        SpecUp
    hs-source-dirs: src
    build-depends:
        yaml >= 0.11.11.1 && <0.12,
        stache >=2.3.3 && < 2.4,
        megaparsec >=9.2.2 && < 9.3,
        extra >= 1.7.13 && < 1.8

test-suite specup-test
    import: deps
    type: exitcode-stdio-1.0
    main-is: Spec.hs
    hs-source-dirs: test
    build-depends:
        hspec >=2.9.7 && <2.12,
        hspec-core >=2.9.7 && <2.12,
        specup >=0