chore(build): copy JSON files for Dart examples

This commit is contained in:
Matias Niemelä 2015-07-09 15:34:33 -07:00 committed by Brian Ford
parent 2faa89852b
commit 9d2776183a
2 changed files with 5 additions and 1 deletions

View File

@ -190,6 +190,7 @@ module.exports = function makeBrowserTree(options, destinationPath) {
htmlTree = mergeTrees([htmlTree, scripts, polymer, react]);
es5Tree = mergeTrees([es5Tree, htmlTree, assetsTree]);
es6Tree = mergeTrees([es6Tree, htmlTree, assetsTree]);
var mergedTree = mergeTrees([stew.mv(es6Tree, '/es6'), stew.mv(es5Tree, '/es5')]);

View File

@ -146,7 +146,10 @@ function getDocsTree() {
// Copy all assets, ignore .js. and .dart. (handled above).
var docs = modulesFunnel(['**/*.md', '**/*.png', '**/*.html', '**/*.css', '**/*.scss'],
['**/*.js.md', '**/*.dart.md']);
return mergeTrees([licenses, mdTree, docs]);
var assets = modulesFunnel(['examples/**/*.json']);
return mergeTrees([licenses, mdTree, docs, assets]);
}
module.exports = function makeDartTree(options: AngularBuilderOptions) {