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

Safe HaskellNone
LanguageHaskell2010

Development.Shake.Plus.FileRules

Synopsis

Documentation

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

Lifted version of need using well-typed Paths

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

Lifted version of want using well-typed Paths

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

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

wantIn :: MonadRules m => Path Rel Dir -> [Path Rel File] -> m () Source #

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

needWithin :: MonadAction m => [Within Rel File] -> m () Source #

Like needP, but accepts Within values.

wantWithin :: MonadRules m => [Within Rel File] -> m () Source #

Like wantP, but accepts Within values.

(%>) :: (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 well-typed Paths and RAction