67 lines
1.6 KiB
Plaintext
67 lines
1.6 KiB
Plaintext
|
cabal-version: 1.12
|
||
|
|
||
|
-- This file has been generated from package.yaml by hpack version 0.31.2.
|
||
|
--
|
||
|
-- see: https://github.com/sol/hpack
|
||
|
--
|
||
|
-- hash: ca81c461a1640c117d8e15cf0540286b67186f864d6de5d525def01045f04d05
|
||
|
|
||
|
name: sort-imports
|
||
|
version: 1.3.0
|
||
|
synopsis: Sort Haskell import statements
|
||
|
description: Haskell source code formatter that sorts import statements
|
||
|
category: Development
|
||
|
homepage: https://github.com/evanrelf/sort-imports
|
||
|
author: Evan Relf <evan@evanrelf.com>
|
||
|
maintainer: Evan Relf <evan@evanrelf.com>
|
||
|
copyright: 2019 Evan Relf
|
||
|
license: ISC
|
||
|
license-file: LICENSE
|
||
|
build-type: Simple
|
||
|
extra-source-files:
|
||
|
CHANGELOG.md
|
||
|
LICENSE
|
||
|
README.md
|
||
|
|
||
|
library
|
||
|
exposed-modules:
|
||
|
SortImports
|
||
|
SortImports.Types
|
||
|
other-modules:
|
||
|
Paths_sort_imports
|
||
|
hs-source-dirs:
|
||
|
src
|
||
|
ghc-options: -Wall -Werror -Wincomplete-patterns
|
||
|
build-depends:
|
||
|
base >=4.7 && <5
|
||
|
, megaparsec
|
||
|
default-language: Haskell2010
|
||
|
|
||
|
executable sort-imports
|
||
|
main-is: Main.hs
|
||
|
other-modules:
|
||
|
Paths_sort_imports
|
||
|
hs-source-dirs:
|
||
|
app
|
||
|
ghc-options: -Wall -Werror -Wincomplete-patterns
|
||
|
build-depends:
|
||
|
base >=4.7 && <5
|
||
|
, optparse-applicative
|
||
|
, sort-imports
|
||
|
default-language: Haskell2010
|
||
|
|
||
|
test-suite test
|
||
|
type: exitcode-stdio-1.0
|
||
|
main-is: Spec.hs
|
||
|
other-modules:
|
||
|
Paths_sort_imports
|
||
|
hs-source-dirs:
|
||
|
test
|
||
|
ghc-options: -Wall -Werror -Wincomplete-patterns -rtsopts -threaded -with-rtsopts=-N
|
||
|
build-depends:
|
||
|
base
|
||
|
, sort-imports
|
||
|
, tasty
|
||
|
, tasty-hunit
|
||
|
default-language: Haskell2010
|