2013-11-15 22:34:15 +00:00
|
|
|
-- Initial holy-project.cabal generated by cabal init. For further documentation,
|
|
|
|
-- see http://haskell.org/cabal/users-guide/
|
|
|
|
|
|
|
|
name: holy-project
|
|
|
|
version: 0.1.0.0
|
|
|
|
synopsis: Start your Haskell project with cabal, git and tests.
|
|
|
|
-- description:
|
|
|
|
homepage: http://github.com/yogsototh/holy-project
|
|
|
|
license: MIT
|
|
|
|
license-file: LICENSE
|
|
|
|
author: Yann Esposito (Yogsototh)
|
|
|
|
maintainer: Yann.Esposito@gmail.com
|
|
|
|
-- copyright:
|
|
|
|
category: Unknown
|
|
|
|
build-type: Simple
|
|
|
|
-- extra-source-files:
|
2013-11-19 22:59:52 +00:00
|
|
|
data-files: scaffold/LICENSE
|
|
|
|
, scaffold/Setup.hs
|
2013-11-20 21:08:22 +00:00
|
|
|
, scaffold/auto-update
|
2013-11-19 22:59:52 +00:00
|
|
|
, scaffold/gitignore
|
|
|
|
, scaffold/project.cabal
|
|
|
|
, scaffold/src/Main.hs
|
|
|
|
, scaffold/src/ModuleName.hs
|
|
|
|
, scaffold/src/ModuleName/Coconut.hs
|
|
|
|
, scaffold/src/ModuleName/Swallow.hs
|
|
|
|
, scaffold/test/ModuleName/Coconut/Test.hs
|
|
|
|
, scaffold/test/ModuleName/Swallow/Test.hs
|
|
|
|
, scaffold/test/Test.hs
|
2013-11-15 22:34:15 +00:00
|
|
|
cabal-version: >=1.10
|
|
|
|
|
|
|
|
executable holy-project
|
|
|
|
main-is: Main.hs
|
|
|
|
-- other-modules:
|
|
|
|
-- other-extensions:
|
|
|
|
build-depends: base >=4.6 && <4.7
|
|
|
|
, ansi-terminal
|
2013-11-19 12:30:37 +00:00
|
|
|
, split
|
2013-11-19 20:46:54 +00:00
|
|
|
, hastache
|
|
|
|
, bytestring
|
|
|
|
, syb
|
|
|
|
, directory
|
2013-11-20 12:23:51 +00:00
|
|
|
, time
|
|
|
|
, filepath
|
2013-11-20 16:15:40 +00:00
|
|
|
, process
|
2013-11-20 16:55:35 +00:00
|
|
|
, random
|
2013-11-15 22:34:15 +00:00
|
|
|
-- from Tasty cabal with ansi-terminal
|
|
|
|
cpp-options: -DCOLORS
|
|
|
|
hs-source-dirs: src
|
|
|
|
ghc-options: -Wall
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
library
|
|
|
|
exposed-modules: HolyProject
|
|
|
|
, HolyProject.Swallow
|
|
|
|
, HolyProject.Coconut
|
|
|
|
-- other-modules:
|
|
|
|
-- other-extensions:
|
|
|
|
build-depends: base >=4.6 && <4.7
|
|
|
|
ghc-options: -Wall
|
|
|
|
hs-source-dirs: src
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
executable test-holy-project
|
|
|
|
hs-source-dirs: test
|
|
|
|
ghc-options: -Wall
|
|
|
|
main-is: Test.hs
|
|
|
|
default-language: Haskell2010
|
|
|
|
build-depends: base ==4.6.*, Cabal >= 1.16.0
|
|
|
|
, holy-project
|
|
|
|
, HUnit
|
|
|
|
, QuickCheck
|
|
|
|
, smallcheck
|
|
|
|
, tasty
|
|
|
|
, tasty-hunit
|
|
|
|
, tasty-quickcheck
|
|
|
|
, tasty-smallcheck
|
2013-11-20 16:55:35 +00:00
|
|
|
|
2013-11-15 22:34:15 +00:00
|
|
|
test-suite Tests
|
|
|
|
hs-source-dirs: test
|
|
|
|
ghc-options: -Wall
|
|
|
|
main-is: Test.hs
|
|
|
|
Type: exitcode-stdio-1.0
|
|
|
|
default-language: Haskell2010
|
|
|
|
build-depends: base ==4.6.*, Cabal >= 1.16.0
|
|
|
|
, holy-project
|
|
|
|
, HUnit
|
|
|
|
, QuickCheck
|
|
|
|
, smallcheck
|
|
|
|
, tasty
|
|
|
|
, tasty-hunit
|
|
|
|
, tasty-quickcheck
|
|
|
|
, tasty-smallcheck
|