Add GHC 7.10 support

This commit is contained in:
Juan Paucar 2015-05-08 10:08:37 -05:00
parent 93018219d1
commit 1e2a7365f1
2 changed files with 5 additions and 6 deletions

View File

@ -32,7 +32,7 @@ cabal-version: >=1.10
executable hap
main-is: Main.hs
hs-source-dirs: src
build-depends: base >=4.5 && <4.8
build-depends: base >=4.5 && <4.9
, time
, old-locale
, process
@ -49,7 +49,7 @@ library
exposed-modules: System.Hapistrano
other-modules: System.Hapistrano.Types
build-depends: base >=4.5 && <4.8
build-depends: base >=4.5 && <4.9
, time
, old-locale
, process
@ -68,7 +68,7 @@ test-suite hapistrano-test
hs-source-dirs: spec, src
main-is: Spec.hs
build-depends: base >=4.5 && <4.8
build-depends: base >=4.5 && <4.9
, time
, old-locale
, process
@ -87,4 +87,4 @@ test-suite hapistrano-test
source-repository head
type: git
location: https://github.com/stackbuilders/hapistrano
location: https://github.com/stackbuilders/hapistrano

View File

@ -38,10 +38,9 @@ import Control.Monad.Trans.Either ( left
import Data.Char (isNumber)
import Data.List (intercalate, sortBy, isInfixOf)
import Data.Time (getCurrentTime)
import Data.Time.Format (formatTime)
import Data.Time.Format (formatTime, defaultTimeLocale)
import System.FilePath.Posix (joinPath, splitPath)
import System.IO (hPutStrLn, stderr)
import System.Locale (defaultTimeLocale)
import System.Process (readProcessWithExitCode)
-- | Does basic project setup for a project, including making sure