shake-plus-0.2.0.1: Re-export of Shake using well-typed paths and ReaderT.

CopyrightCopyright (C) 2020 Daniel Firth
MaintainerDaniel Firth <dan.firth@homotopic.tech
Safe HaskellNone
LanguageHaskell2010

Development.Shake.Plus.Config

Description

License : MIT Stability : experimental

Utilities in Development.Shake.Config lifted to MonadAction and FileLike/DirLike.

Synopsis

Documentation

readConfigFile :: (MonadIO m, FileLike b a) => a -> m (HashMap String String) Source #

Lifted readConfigFile with well-typed path.

readConfigFileWithEnv :: (MonadIO m, FileLike b a) => [(String, String)] -> a -> m (HashMap String String) Source #

Lifted readConfigFileWithEnv with well-typed path.

usingConfigFile :: (MonadRules m, FileLike b a) => a -> m () Source #

Lifted usingConfigFile with well-typed path.