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

Safe HaskellNone
LanguageHaskell2010

B9.Shake.Actions

Description

Convenient Shake Actions for B9 rules.

Synopsis

Documentation

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

Convert a B9Invocation 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 :: 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