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

Safe HaskellNone
LanguageHaskell2010

Development.Shake.Plus.FileRules

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.

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

Like needIn, but accepts a list of Paths inside a Within value.

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

Like wantIn, but accepts a list of Paths insides a Within value.

needWithin' :: (Partial, MonadAction m, Traversable t) => t (Within b (Path Rel File)) -> m () Source #

Like needWithin, but accepts a list of Withins instead of a Within of a list.

wantWithin' :: (Partial, MonadRules m, Traversable t) => t (Within b (Path Rel File)) -> m () Source #

Like wantWithin, but accepts a list of Withins instead of a Within of a list.

(%>) :: (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

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

Within variant of `(%>)`, used to keep track of local directories.

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

Within variant of `(%>)`, used to keep track of local directories.

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

Lifted version of phony using RAction