fixed all cabal + dependecy bugs issues

This commit is contained in:
Yann Esposito (Yogsototh) 2014-04-19 08:51:34 +02:00
parent 46bd0d4122
commit b09dd99e26
2 changed files with 10 additions and 8 deletions

View file

@ -44,10 +44,10 @@ executable holy-project
-- other-modules:
-- other-extensions:
build-depends: base
, ansi-terminal
, ansi-terminal >= 0.6.1.1
, split
, hastache
, bytestring
, bytestring >= 0.10.4.0
, syb
, directory
, time
@ -74,7 +74,7 @@ library
-- other-modules:
-- other-extensions:
build-depends: base
, ansi-terminal
, ansi-terminal >= 0.6.1.1
, split
, hastache
, bytestring
@ -100,7 +100,9 @@ executable test-holy-project
other-modules: HolyProject.GithubAPI.Test
, HolyProject.StringUtils.Test
default-language: Haskell2010
build-depends: base
build-depends: base >=4.6
, Cabal >= 1.18.0
, bytestring >= 0.10.4.0
, holy-project
, HUnit
, QuickCheck
@ -116,7 +118,9 @@ test-suite Tests
main-is: Test.hs
Type: exitcode-stdio-1.0
default-language: Haskell2010
build-depends: base
build-depends: base >= 4.6
, Cabal >= 1.18.0
, bytestring >= 0.10.4.0
, holy-project
, HUnit
, QuickCheck

View file

@ -22,13 +22,11 @@ import qualified Data.Text.Lazy.IO as TIO
import Text.Hastache
import Text.Hastache.Context
-- File and directory Handling
import qualified Data.ByteString as BS
import qualified Data.ByteString.Lazy.Char8 as LZ
import System.Directory
import System.FilePath.Posix (takeDirectory,(</>))
import System.Posix.Files (setFileMode)
-- Execute external commands
import System.Cmd (system)
import System.Process (system)
-- Random error message :)
import System.Random
-- Fork