Main Site Contents Up Previous Next

Rules - Cava::Global Rule

The module Cava::Global is an empty placeholder added to every project scan. It is always the second module or script in the scan list after the Cava::Project placeholder module and allows you to set rules to be applied globally to all your projects.

A custom script in the rule for Cava::Global will always be the second script to run after the Cava::Project script and you can therefore reliably set global values using $rule->stashvalue that will then be available to all your custom rule scripts in all of your projects.

Contents Up Previous Next

Cava Packager Copyright © 2006-2012 Mark Dootson