| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
B9.Shake.Actions
Synopsis
- b9InvocationAction :: HasCallStack => B9ConfigAction a -> B9ConfigOverride -> Action a
- buildB9File :: HasCallStack => FilePath -> FilePath -> [String] -> Action String
Documentation
b9InvocationAction :: HasCallStack => B9ConfigAction a -> B9ConfigOverride -> Action a Source #
Convert a B9ConfigAction action into a Shake Action. This is just
an alias for runB9ConfigActionWithOverrides since Action is an instance of MonadIO
and runB9ConfigActionWithOverrides work on any .
buildB9File :: HasCallStack => FilePath -> FilePath -> [String] -> Action String Source #
An action that does the equivalent of
b9c build -f b9file -- (args !! 0) (args !! 1) ... (args !! (length args - 1))
with the current working directory changed to b9Root.
The return value is the buildid, see getBuildId