packages feed

git-fmt-0.3.1.0: git-fmt.cabal

name:           git-fmt
version:        0.3.1.0

author:         Henry J. Wylde
maintainer:     public@hjwylde.com
homepage:       https://github.com/hjwylde/git-fmt

synopsis:       Custom git command for formatting code.
description:    git-fmt adds a custom command to Git that automatically formats code by using
                external pretty-printers.
                The idea was taken from gofmt, just with a bit of expansion to more languages.

license:        BSD3
license-file:   LICENSE

cabal-version:  >= 1.10
category:       Development
build-type:     Simple

source-repository head
    type:       git
    location:   git@github.com:hjwylde/git-fmt

executable git-fmt
    main-is:        Main.hs
    hs-source-dirs: app/
    ghc-options:    -threaded -with-rtsopts=-N
    other-modules:
        Git.Fmt.Options,
        Git.Fmt.Version,
        Paths_git_fmt

    default-language: Haskell2010
    other-extensions:
        FlexibleContexts
        MultiParamTypeClasses
        OverloadedStrings
    build-depends:
        base >= 4.8 && < 5,
        exceptions >= 0.8,
        extra >= 1.4,
        fast-logger >= 2.4,
        filepath >= 1.4,
        git-fmt,
        mtl >= 2.2,
        monad-logger >= 0.3,
        monad-parallel >= 0.7,
        optparse-applicative >= 0.11,
        pipes >= 4.1,
        pipes-concurrency >= 2.0,
        temporary >= 1.2,
        text >= 1.2,
        time >= 1.5

library
    hs-source-dirs: src/
    exposed-modules:
        Omnifmt.Config,
        Omnifmt.Exit,
        Omnifmt.Pipes,
        Omnifmt.Process

    default-language: Haskell2010
    other-extensions:
        FlexibleContexts
        MultiParamTypeClasses
        OverloadedStrings
        TupleSections
    build-depends:
        aeson >= 0.8,
        base >= 4.8 && < 5,
        extra >= 1.4,
        filepath >= 1.4,
        monad-logger >= 0.3,
        mtl >= 2.2,
        pipes >= 4.1,
        text >= 1.2,
        unordered-containers >= 0.2,
        yaml >= 0.8