Safe Haskell | None |
---|---|
Language | Haskell2010 |
A crude, unsafe and preliminary solution to building B9 SharedImage
s
from Shake.
- customSharedImageAction :: SharedImageName -> Action () -> Rules ()
- needSharedImage :: SharedImageName -> Action SharedImageBuildId
- enableSharedImageRules :: B9ConfigOverride -> Rules ()
Documentation
customSharedImageAction :: 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 :: 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 :: B9ConfigOverride -> Rules () Source #
In order to use needSharedImage
and customSharedImageAction
you need to
call this action before using any of the afore mentioned.