broccoli-export-tree
v0.2.0 broccoli-plugin javascript
Broccoli Export Tree
Export a tree to an external directory.
Usage
Export a tree to the dist/
directory:
var exportTree = require('broccoli-export-tree');
// assuming someTree is a built up tree
var tree = exportTree(someTree, {
destDir: 'dist'
});
Documentation
exportTree(inputTree, options)
options.destDir
{String}
The path to move the export to.
options.clobber
{true,false}
Should the destination directory be removed before copying?
Default: true
ZOMG!!! TESTS?!?!!?
I know, right?
Running the tests:
npm install
npm test
License
This project is distributed under the MIT license.
npm i [email protected]
Metadata
- MIT
- Whatever
- Robert Jackson
- released 4/23/2014