shake-plus-0.3.4.0: Re-export of Shake using well-typed paths and ReaderT.
LicenseMIT
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Development.Shake.Plus.FileRules

Description

Filerules in Development.Shake lifted to MonadAction and well-typed Paths.

Synopsis

Documentation

need :: (Partial, MonadAction m, Foldable t) => t String -> m () Source #

Lifted version of need, This still uses Strings because it may refer to a phony rule. For the Path specific version use needP

want :: (Partial, MonadRules m, Foldable t) => t String -> m () Source #

Lifted version of want. This still uses Strings because it may refer to a phony rule. For the Path specific version use wantP.

needP :: (Partial, MonadAction m, Traversable t) => t (Path b File) -> m () Source #

Lifted version of need using well-typed Paths

wantP :: (Partial, MonadRules m, Traversable t) => t (Path b File) -> m () Source #

Lifted version of want using well-typed Paths

needIn :: (Partial, MonadAction m, Traversable t) => Path b Dir -> t (Path Rel File) -> m () Source #

Like needP, but accepts Paths relative to the first argument.

wantIn :: (Partial, MonadRules m, Traversable t) => Path b Dir -> t (Path Rel File) -> m () Source #

Like wantP, but accepts Paths relative to the first argument.

(%>) :: (Partial, MonadReader r m, MonadRules m) => FilePattern -> (Path Rel File -> RAction r ()) -> m () Source #

Lifted version of %> using well-typed Paths

(|%>) :: (Partial, MonadReader r m, MonadRules m) => [FilePattern] -> (Path Rel File -> RAction r ()) -> m () Source #

Lifted version of |%> using well-typed Paths

phony :: (MonadReader r m, MonadRules m) => String -> RAction r () -> m () Source #

Lifted version of phony using RAction