Allows for creation of local adhoc/one-off mimosa modules
This module allows for linking node code in your app, or on your file system, directly into a Mimosa workflow. This is great for small one off tasks that don't make sense as NPM modules.
For more information regarding Mimosa, see http://mimosa.io.
'adhoc-module' to your list of modules. Mimosa will install the module for you when you start up.
This module forwards registation and workflow functions on to your code, allowing local code to be directly linked into Mimosa's workflows. Commands are executed in the order they are provided.
modules: An array of
requirecalls. The code
required in must expose a
registrationfunction. For information on the
registrationfunction and how to use it, see virtually any Mimosa module. Here's a simple one.;
adhocModule:modules: [require('./scripts/module1'), require('./scripts/module2')]
var// do something appropriate for "beforeInstall", like copy files around// or transform files before installing them somewherenext;if mimosaConfigisBuildregister "postBuild" "beforeInstall" _execute ;;