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

B9.Shake.SharedImageRules

Description

A crude, unsafe and preliminary solution to building B9 SharedImages from Shake.

Synopsis

# Documentation

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.

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.

In order to use needSharedImage and customSharedImageAction you need to call this action before using any of the afore mentioned.