mirror of
https://github.com/stackbuilders/hapistrano.git
synced 2024-12-26 13:01:29 +03:00
Use time-locale-compat library
This commit is contained in:
parent
253c43d239
commit
e73ef58f67
@ -33,7 +33,8 @@ executable hap
|
||||
main-is: Main.hs
|
||||
hs-source-dirs: src
|
||||
build-depends: base >=4.5 && <4.9
|
||||
, time ==1.4.*
|
||||
, time-locale-compat
|
||||
, time
|
||||
, old-locale
|
||||
, process
|
||||
, either
|
||||
@ -50,8 +51,8 @@ library
|
||||
other-modules: System.Hapistrano.Types
|
||||
|
||||
build-depends: base >=4.5 && <4.9
|
||||
, time ==1.4.*
|
||||
|
||||
, time-locale-compat
|
||||
, time
|
||||
, old-locale
|
||||
, process
|
||||
, either
|
||||
@ -70,7 +71,8 @@ test-suite hapistrano-test
|
||||
main-is: Spec.hs
|
||||
|
||||
build-depends: base >=4.5 && <4.9
|
||||
, time ==1.4.*
|
||||
, time-locale-compat
|
||||
, time
|
||||
, old-locale
|
||||
, process
|
||||
, either
|
||||
|
@ -39,9 +39,9 @@ import Data.Char (isNumber)
|
||||
import Data.List (intercalate, sortBy, isInfixOf)
|
||||
import Data.Time (getCurrentTime)
|
||||
import Data.Time.Format (formatTime)
|
||||
import Data.Time.Locale.Compat (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
|
||||
|
Loading…
Reference in New Issue
Block a user