50 lines
920 B
YAML
50 lines
920 B
YAML
|
name: sort-imports
|
||
|
version: 1.3.0
|
||
|
synopsis: Sort Haskell import statements
|
||
|
description: Haskell source code formatter that sorts import statements
|
||
|
homepage: https://github.com/evanrelf/sort-imports
|
||
|
license: ISC
|
||
|
author: Evan Relf <evan@evanrelf.com>
|
||
|
maintainer: Evan Relf <evan@evanrelf.com>
|
||
|
copyright: 2019 Evan Relf
|
||
|
category: Development
|
||
|
extra-source-files:
|
||
|
- CHANGELOG.md
|
||
|
- LICENSE
|
||
|
- README.md
|
||
|
|
||
|
dependencies:
|
||
|
- base >= 4.7 && < 5
|
||
|
|
||
|
ghc-options:
|
||
|
- -Wall
|
||
|
- -Werror
|
||
|
- -Wincomplete-patterns
|
||
|
|
||
|
library:
|
||
|
source-dirs: src
|
||
|
dependencies:
|
||
|
- megaparsec
|
||
|
|
||
|
executables:
|
||
|
sort-imports:
|
||
|
source-dirs: app
|
||
|
main: Main.hs
|
||
|
dependencies:
|
||
|
- optparse-applicative
|
||
|
- sort-imports
|
||
|
|
||
|
tests:
|
||
|
test:
|
||
|
source-dirs: test
|
||
|
main: Spec.hs
|
||
|
dependencies:
|
||
|
- base
|
||
|
- sort-imports
|
||
|
- tasty
|
||
|
- tasty-hunit
|
||
|
ghc-options:
|
||
|
- -rtsopts
|
||
|
- -threaded
|
||
|
- -with-rtsopts=-N
|