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

Safe HaskellNone
LanguageHaskell2010

Development.Shake.Plus.FileRules

Synopsis

Documentation

need :: (Partial, MonadAction m) => [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) => [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) => [Path Rel File] -> m () Source #

Lifted version of need using well-typed Paths

wantP :: (Partial, MonadRules m) => [Path Rel File] -> m () Source #

Lifted version of want using well-typed Paths

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

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

wantIn :: (Partial, MonadRules m) => Path Rel Dir -> [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

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