Safe Haskell | None |
---|---|
Language | Haskell2010 |
A crude, unsafe and preliminary solution to building B9 SharedImage
s
from Shake.
Synopsis
- customSharedImageAction :: HasCallStack => SharedImageName -> Action () -> Rules ()
- needSharedImage :: HasCallStack => SharedImageName -> Action SharedImageBuildId
- enableSharedImageRules :: HasCallStack => B9ConfigOverride -> Rules ()
Documentation
customSharedImageAction :: HasCallStack => SharedImageName -> Action () -> Rules () Source #
Specify an arbitrary action that is supposed to build the given shared
image identified by a SharedImageName
.
NOTE: You must call enableSharedImageRules
before this action works.
needSharedImage :: HasCallStack => SharedImageName -> Action SharedImageBuildId Source #
Add a dependency to the creation of a SharedImage
. The build action
for the shared image must have been supplied by e.g. customSharedImageAction
.
NOTE: You must call enableSharedImageRules
before this action works.
enableSharedImageRules :: HasCallStack => B9ConfigOverride -> Rules () Source #
In order to use needSharedImage
and customSharedImageAction
you need to
call this action before using any of the aforementioned Rules
.