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

Safe HaskellNone
LanguageHaskell2010

Development.Shake.Plus.File

Synopsis

Documentation

copyFile' :: (MonadAction m, Partial) => Path Rel File -> Path Rel File -> m () Source #

Lifted version of copyFile with well-typed Paths.

copyFileChanged :: (MonadAction m, Partial) => Path Rel File -> Path Rel File -> m () Source #

Lifted version of copyFileChanged' with well-typed Paths.

copyFileWithin' :: (MonadAction m, Partial) => Within Rel (Path Rel File) -> Within Rel (Path Rel File) -> m () Source #

Like copyFile', but accepts Within values.

copyFileChangedWithin :: (MonadAction m, Partial) => Within Rel (Path Rel File) -> Within Rel (Path Rel File) -> m () Source #

Like copyFileChanged, but accepts Within values.

readFile' :: (MonadAction m, Partial) => Path Rel File -> m Text Source #

Lifted version of readFile' with well-typed Path.

readFileLines :: (MonadAction m, Partial) => Path Rel File -> m [Text] Source #

Lifted version of readFileLines with well-typed Path.

readFileIn' :: MonadAction m => Path Rel Dir -> Path Rel File -> m Text Source #

Like readFile', but with an argument for the parent directory. Used for symmetry with the way getDirectoryFiles takes arguments.

readFileWithin :: MonadAction m => Within Rel (Path Rel File) -> m Text Source #

Like readFile', but accepts a Within value.

writeFile' :: (MonadAction m, Partial) => Path Rel File -> Text -> m () Source #

Lifted version of writeFile with well-typed Path.

writeFileLines :: (MonadAction m, Partial) => Path Rel File -> [Text] -> m () Source #

Lifted version of writeFileLines with well-typed Path.

writeFileIn' :: MonadAction m => Path Rel Dir -> Path Rel File -> Text -> m () Source #

Like writeFile', but with an argument for the parent directory. Used for symmetry with the way getDirectoryFiles takes arguments.

writeFileWithin :: MonadAction m => Within Rel (Path Rel File) -> Text -> m () Source #

Like writeFile', but accepts a Within value.

writeFileChanged :: (MonadAction m, Partial) => Path b File -> Text -> m () Source #

Lifted version of writeFileChanged with well-typed Path.

writeFileChangedIn :: MonadAction m => Path Rel Dir -> Path Rel File -> Text -> m () Source #

Like writeFileChanged', but with an argument for the parent directory. Used for symmetry with the way getDirectoryFiles takes arguments.

writeFileChangedWithin :: MonadAction m => Within Rel (Path Rel File) -> Text -> m () Source #

Like writeFileChanged', but accepts a Within value.

removeFiles :: MonadAction m => Path b File -> [FilePattern] -> m () Source #

Lifted version of removeFiles with well-typed Path.

removeFilesAfter :: MonadAction m => Path Rel Dir -> [FilePattern] -> m () Source #

Lifted version of removeFilesAfter with well-typed Path.