b9-0.5.52: A tool and library for building virtual machine images.

Safe HaskellNone
LanguageHaskell2010

B9.Shake.Actions

Description

Convenient Shake Actions for B9 rules.

Synopsis

Documentation

b9InvokationAction :: B9ConfigAction Action a -> B9ConfigOverride -> Action a Source #

Convert a B9Invokation action into a Shake Action. This is just an alias for execB9ConfigAction since Action is an instance of MonadIO and execB9ConfigAction work on any .

buildB9File :: 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