name: {{ project }}
version: {{ version }}
-- synopsis:
-- description:
homepage: https://github.com/{{ github_username }}/{{ project }}#readme
license: {{ license }}
license-file: LICENSE
author: {{ name }}
maintainer: {{ email }}
copyright: Copyright: (c) {{ year }} {{ name }}
--category: Web
build-type: Simple
extra-source-files: README.md
, stack.yaml
, .travis.yml
cabal-version: >=1.10
library
hs-source-dirs: src
exposed-modules: Lib
build-depends: base >= 4.7 && < 5
default-language: Haskell2010
executable {{ project }}
hs-source-dirs: app
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: base
, {{ project }}
default-language: Haskell2010
test-suite {{ project }}-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends: base
, {{ project }}
, hspec
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
benchmark {{ project }}-bench
type: exitcode-stdio-1.0
hs-source-dirs: bench
main-is: Bench.hs
build-depends: base
, {{ project }}
, criterion
ghc-options: -threaded -rtsopts -with-rtsopts=-N -O3
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/{{ github_username }}/{{ project }}