Constant project_init::includes::CABAL [] [src]

pub const CABAL: &'static str = "name:                {{ project }}\nversion:             {{ version }}\n-- synopsis:\n-- description:\nhomepage:            https://github.com/{{ github_username }}/{{ project }}#readme\nlicense:             {{ license }}\nlicense-file:        LICENSE\nauthor:              {{ name }}\nmaintainer:          {{ email }}\ncopyright:           Copyright: (c) {{ year }} {{ name }}\n--category:            Web\nbuild-type:          Simple\nextra-doc-files:     README.md\nextra-source-files:  stack.yaml\n                   , cabal.project.local\ncabal-version:       >=1.18\n\nFlag development {\n  Description: Enable `-Werror`\n  manual: True\n  default: False\n}\n\nlibrary\n  hs-source-dirs:      src\n  exposed-modules:     Lib\n  build-depends:       base >= 4.7 && < 5\n  default-language:    Haskell2010\n  if flag(development)\n    ghc-options:       -Werror\n  if impl(ghc >= 8.0)\n    ghc-options:       -Wincomplete-uni-patterns -Wincomplete-record-updates -Wcompat\n  ghc-options:         -Wall\n\nexecutable {{ project }}\n  hs-source-dirs:      app\n  main-is:             Main.hs\n  ghc-options:         -threaded -rtsopts -with-rtsopts=-N\n  build-depends:       base\n                     , {{ project }}\n  default-language:    Haskell2010\n  if flag(development)\n    ghc-options:       -Werror\n  if impl(ghc >= 8.0)\n    ghc-options:       -Wincomplete-uni-patterns -Wincomplete-record-updates -Wcompat\n  ghc-options:         -Wall\n\ntest-suite {{ project }}-test\n  type:                exitcode-stdio-1.0\n  hs-source-dirs:      test\n  main-is:             Spec.hs\n  build-depends:       base\n                     , {{ project }}\n                     , hspec\n  if flag(development)\n    ghc-options:       -Werror\n  if impl(ghc >= 8.0)\n    ghc-options:       -Wincomplete-uni-patterns -Wincomplete-record-updates -Wcompat\n  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -Wall\n  default-language:    Haskell2010\n\nbenchmark {{ project }}-bench\n  type:                exitcode-stdio-1.0\n  hs-source-dirs:      bench\n  main-is:             Bench.hs\n  build-depends:       base\n                     , {{ project }}\n                     , criterion\n  if flag(development)\n    ghc-options:       -Werror\n  if impl(ghc >= 8.0)\n    ghc-options:       -Wincomplete-uni-patterns -Wincomplete-record-updates -Wcompat\n  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -O3 -Wall\n  default-language:    Haskell2010\n\nsource-repository head\n  type:     git\n  location: https://github.com/{{ github_username }}/{{ project }}\n"