2013-11-20 16:27:40 +00:00
|
|
|
-- Initial {{projectName}}.cabal generated by holy-project.
|
2013-11-19 22:59:52 +00:00
|
|
|
-- For further documentation, see http://haskell.org/cabal/users-guide/
|
|
|
|
|
2013-11-20 16:15:40 +00:00
|
|
|
name: {{projectName}}
|
2013-11-19 22:59:52 +00:00
|
|
|
version: 0.1.0.0
|
|
|
|
synopsis: {{synopsis}}
|
|
|
|
-- description:
|
2013-11-20 16:27:40 +00:00
|
|
|
homepage: http://github.com/{{ghaccount}}/{{projectName}}
|
2013-11-19 22:59:52 +00:00
|
|
|
license: MIT
|
|
|
|
license-file: LICENSE
|
|
|
|
author: {{author}}
|
|
|
|
maintainer: {{mail}}
|
|
|
|
-- copyright:
|
|
|
|
category: Unknown
|
|
|
|
build-type: Simple
|
|
|
|
-- extra-source-files:
|
|
|
|
cabal-version: >=1.10
|
|
|
|
|
2013-12-04 19:48:39 +00:00
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
branch: master
|
|
|
|
location: http://github.com/{{ghaccount}}/{{projectName}}
|
|
|
|
|
2013-11-20 16:27:40 +00:00
|
|
|
executable {{projectName}}
|
2013-11-19 22:59:52 +00:00
|
|
|
main-is: Main.hs
|
|
|
|
-- other-modules:
|
|
|
|
-- other-extensions:
|
2014-04-19 07:04:45 +00:00
|
|
|
build-depends: base >=4.6 && <5
|
2013-11-19 22:59:52 +00:00
|
|
|
hs-source-dirs: src
|
|
|
|
ghc-options: -Wall
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
library
|
2013-11-20 16:15:40 +00:00
|
|
|
exposed-modules: {{moduleName}}
|
|
|
|
, {{moduleName}}.Swallow
|
|
|
|
, {{moduleName}}.Coconut
|
2013-11-19 22:59:52 +00:00
|
|
|
-- other-modules:
|
|
|
|
-- other-extensions:
|
2014-04-19 07:04:45 +00:00
|
|
|
build-depends: base >=4.6 && <5
|
2013-11-19 22:59:52 +00:00
|
|
|
ghc-options: -Wall
|
|
|
|
hs-source-dirs: src
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
2013-11-20 16:27:40 +00:00
|
|
|
executable test-{{projectName}}
|
2013-11-19 22:59:52 +00:00
|
|
|
hs-source-dirs: test
|
|
|
|
ghc-options: -Wall
|
|
|
|
main-is: Test.hs
|
|
|
|
default-language: Haskell2010
|
2014-04-19 07:04:45 +00:00
|
|
|
build-depends: base >=4.6 && <5
|
2014-04-19 06:19:45 +00:00
|
|
|
, Cabal >= 1.16.0
|
2013-11-20 16:27:40 +00:00
|
|
|
, {{projectName}}
|
2013-11-19 22:59:52 +00:00
|
|
|
, HUnit
|
|
|
|
, QuickCheck
|
|
|
|
, smallcheck
|
|
|
|
, tasty
|
|
|
|
, tasty-hunit
|
|
|
|
, tasty-quickcheck
|
|
|
|
, tasty-smallcheck
|
2013-11-20 16:15:40 +00:00
|
|
|
|
2013-11-19 22:59:52 +00:00
|
|
|
test-suite Tests
|
|
|
|
hs-source-dirs: test
|
|
|
|
ghc-options: -Wall
|
|
|
|
main-is: Test.hs
|
|
|
|
Type: exitcode-stdio-1.0
|
|
|
|
default-language: Haskell2010
|
2014-04-19 07:04:45 +00:00
|
|
|
build-depends: base >=4.6 && <5
|
2014-04-19 06:19:45 +00:00
|
|
|
, Cabal >= 1.16.0
|
2013-11-20 16:27:40 +00:00
|
|
|
, {{projectName}}
|
2013-11-19 22:59:52 +00:00
|
|
|
, HUnit
|
|
|
|
, QuickCheck
|
|
|
|
, smallcheck
|
|
|
|
, tasty
|
|
|
|
, tasty-hunit
|
|
|
|
, tasty-quickcheck
|
|
|
|
, tasty-smallcheck
|