packages feed

private-hackage-uploader-0.2.3.0: private-hackage-uploader.cabal

name:                private-hackage-uploader
version:             0.2.3.0
synopsis:            Upload a package to the public or private hackage, building its docs
description:         An opinionated utility that uploads a package to a private or public hackage, building its docs
bug-reports:         https://github.com/iconnect/hackage-uploader/issues
license:             MIT
license-file:        LICENSE
author:              Alfredo Di Napoli
maintainer:          alfredo.dinapoli@gmail.com
category:            System
build-type:          Simple
cabal-version:       >=1.10

source-repository head
  type:               git
  location:           git@github.com:iconnect/hackage-uploader.git

flag library-only
     default: False

library
  hs-source-dirs:
    src
  exposed-modules:
    Distribution.Hackage.Upload
  other-modules:
    CLI
  build-depends:
      base >= 4.6 && < 5.0,
      directory >= 1.2.0.1,
      optparse-applicative >= 0.7.0.2,
      shelly >= 1.5.0,
      text >= 0.11
  default-language:   Haskell2010

executable private-hackage-uploader
  hs-source-dirs:
      src
  other-modules:
    Distribution.Hackage.Upload
  main-is:
      Main.hs
  if flag(library-only)
    Buildable: False
  else
    build-depends:
        base >= 4.6 && < 5.0,
        text >= 0.11,
        shelly >= 1.5.0,
        directory >= 1.2.0.1,
        private-hackage-uploader
  default-language:   Haskell2010