packages feed

holy-project-0.1.0.0: holy-project.cabal

-- 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:            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\".
homepage:               http://github.com/yogsototh/holy-project
license:                MIT
license-file:           LICENSE
author:                 Yann Esposito (Yogsototh)
maintainer:             Yann.Esposito@gmail.com
-- copyright:
category:               Development
build-type:             Simple
-- extra-source-files:
data-files:             scaffold/LICENSE
                        , scaffold/Setup.hs
                        , scaffold/auto-update
                        , scaffold/gitignore
                        , scaffold/interact
                        , scaffold/project.cabal
                        , scaffold/src/Main.hs
                        , scaffold/src/ModuleName.hs
                        , scaffold/src/ModuleName/Swallow.hs
                        , scaffold/test/ModuleName/Swallow/Test.hs
                        , scaffold/test/Test.hs
cabal-version:          >=1.10

source-repository head
    type:               git
    branch:             master
    location:           http://github.com/yogsototh/holy-project

executable holy-project
  main-is:              Main.hs
  -- other-modules:
  -- other-extensions:
  build-depends:        base >=4.6 && <4.7
                        , ansi-terminal
                        , split
                        , hastache
                        , bytestring
                        , syb
                        , directory
                        , time
                        , filepath
                        , process
                        , random
                        , http-conduit
                        , lens
                        , lens-aeson
                        , aeson
                        , text
  -- from Tasty cabal with ansi-terminal
  cpp-options:          -DCOLORS
  hs-source-dirs:       src
  ghc-options:          -Wall
  default-language:     Haskell2010

library
  exposed-modules:      HolyProject
                        , HolyProject.StringUtils
                        , HolyProject.GithubAPI
  -- other-modules:
  -- other-extensions:
  build-depends:        base >=4.6 && <4.7
                        , ansi-terminal
                        , split
                        , hastache
                        , bytestring
                        , syb
                        , directory
                        , time
                        , filepath
                        , process
                        , random
                        , http-conduit
                        , lens
                        , lens-aeson
                        , aeson
                        , text
  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

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