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
|
2014-01-15 22:02:23 +00:00
|
|
|
version: 0.1.0.1
|
2013-11-15 22:34:15 +00:00
|
|
|
synopsis: Start your Haskell project with cabal, git and tests.
|
2013-12-04 19:48:39 +00:00
|
|
|
description: Holy Project is an application wich ask the user
|
|
|
|
some questions and create files to help you
|
|
|
|
starting a new Haskell project.
|
|
|
|
There are example for tests using HUnit and SmallCheck
|
|
|
|
It initialize git, use cabal sandboxes, and provide
|
|
|
|
two useful scripts: \"auto-update\" and \"interact\".
|
2013-11-15 22:34:15 +00:00
|
|
|
homepage: http://github.com/yogsototh/holy-project
|
|
|
|
license: MIT
|
|
|
|
license-file: LICENSE
|
|
|
|
author: Yann Esposito (Yogsototh)
|
|
|
|
maintainer: Yann.Esposito@gmail.com
|
|
|
|
-- copyright:
|
2013-12-04 19:51:34 +00:00
|
|
|
category: Development
|
2013-11-15 22:34:15 +00:00
|
|
|
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
|
2013-12-03 15:54:56 +00:00
|
|
|
, scaffold/interact
|
2013-11-19 22:59:52 +00:00
|
|
|
, scaffold/project.cabal
|
|
|
|
, scaffold/src/Main.hs
|
|
|
|
, scaffold/src/ModuleName.hs
|
2013-12-18 14:30:25 +00:00
|
|
|
, scaffold/src/ModuleName/Coconut.hs
|
2013-11-19 22:59:52 +00:00
|
|
|
, scaffold/src/ModuleName/Swallow.hs
|
2013-12-18 14:30:25 +00:00
|
|
|
, scaffold/test/ModuleName/Coconut/Test.hs
|
2013-11-19 22:59:52 +00:00
|
|
|
, scaffold/test/ModuleName/Swallow/Test.hs
|
|
|
|
, scaffold/test/Test.hs
|
2013-11-15 22:34:15 +00:00
|
|
|
cabal-version: >=1.10
|
|
|
|
|
2013-12-04 19:48:39 +00:00
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
branch: master
|
|
|
|
location: http://github.com/yogsototh/holy-project
|
|
|
|
|
2013-11-15 22:34:15 +00:00
|
|
|
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-26 07:56:25 +00:00
|
|
|
, http-conduit
|
2013-11-26 14:32:16 +00:00
|
|
|
, lens
|
|
|
|
, lens-aeson
|
2013-11-26 07:56:25 +00:00
|
|
|
, aeson
|
2013-11-26 14:32:16 +00:00
|
|
|
, text
|
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
|
2013-11-27 14:57:49 +00:00
|
|
|
, HolyProject.StringUtils
|
2013-12-03 10:56:33 +00:00
|
|
|
, HolyProject.GithubAPI
|
2013-12-18 13:24:27 +00:00
|
|
|
other-modules: HolyProject.GitConfig
|
|
|
|
, HolyProject.MontyPython
|
2013-11-15 22:34:15 +00:00
|
|
|
-- other-modules:
|
|
|
|
-- other-extensions:
|
|
|
|
build-depends: base >=4.6 && <4.7
|
2013-11-26 15:57:41 +00:00
|
|
|
, ansi-terminal
|
|
|
|
, split
|
|
|
|
, hastache
|
|
|
|
, bytestring
|
|
|
|
, syb
|
|
|
|
, directory
|
|
|
|
, time
|
|
|
|
, filepath
|
|
|
|
, process
|
|
|
|
, random
|
|
|
|
, http-conduit
|
|
|
|
, lens
|
|
|
|
, lens-aeson
|
|
|
|
, aeson
|
|
|
|
, text
|
2013-11-15 22:34:15 +00:00
|
|
|
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
|
2013-12-18 13:24:27 +00:00
|
|
|
other-modules: HolyProject.GithubAPI.Test
|
|
|
|
, HolyProject.StringUtils.Test
|
2013-11-15 22:34:15 +00:00
|
|
|
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
|