name:                cabal-dev-scripts
version:             0
synopsis:            Dev scripts for cabal development
description:
  This package provides a tools for Cabal development
homepage:            http://www.haskell.org/cabal/
license:             BSD3
license-file:        LICENSE
author:              Cabal Development Team <cabal-devel@haskell.org>
category:            Distribution
build-type:          Simple
cabal-version:       >=2.0

executable gen-extra-source-files
  default-language:    Haskell2010
  main-is:             GenExtraSourceFiles.hs
  hs-source-dirs:      src
  build-depends:
    base                 >=4.10    && <4.13,
    Cabal                >=2.2     && <2.6,
    bytestring,
    directory,
    filepath,
    process

executable gen-spdx
  default-language:    Haskell2010
  main-is:             GenSPDX.hs
  other-modules:       GenUtils
  hs-source-dirs:      src
  ghc-options:         -Wall
  build-depends:
    base                 >=4.10    && <4.13,
    aeson                >=1.4.0.0 && <1.5,
    bytestring,
    containers,
    Diff                 >=0.3.4   && <0.4,
    lens                 >=4.17    && <4.18,
    microstache          >=1.0.1.1 && <1.1,
    optparse-applicative >=0.13    && <0.15,
    text

executable gen-spdx-exc
  default-language:    Haskell2010
  main-is:             GenSPDXExc.hs
  other-modules:       GenUtils
  hs-source-dirs:      src
  ghc-options:         -Wall
  build-depends:
    base                 >=4.10    && <4.13,
    aeson                >=1.4.0.0 && <1.5,
    bytestring,
    containers,
    Diff                 >=0.3.4   && <0.4,
    lens                 >=4.17    && <4.18,
    microstache          >=1.0.1.1 && <1.1,
    optparse-applicative >=0.13    && <0.15,
    text
