Skip to content

Commit

Permalink
Merge pull request #4783 from ember-cli/bump-viz
Browse files Browse the repository at this point in the history
bump viz
  • Loading branch information
stefanpenner committed Aug 31, 2015
2 parents 2e2b7f1 + f8842a3 commit b5c1ed2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/models/builder.js
Expand Up @@ -147,9 +147,9 @@ module.exports = Task.extend({
})
.then(function(result) {
if (process.env.BROCCOLI_VIZ) {
var flattened = viz.flatten(result.graph);
fs.writeFileSync('graph.dot', viz.dot(flattened));
fs.writeFileSync('graph.json', JSON.stringify(flattened));
var processed = viz.process(result.graph);
fs.writeFileSync('graph.dot', viz.dot(processed));
fs.writeFileSync('graph.json', JSON.stringify(processed));
}
return result;
})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -86,7 +86,7 @@
"broccoli-sane-watcher": "^1.1.1",
"broccoli-source": "^1.1.0",
"broccoli-sourcemap-concat": "^1.0.0",
"broccoli-viz": "^1.0.0",
"broccoli-viz": "^2.0.0",
"chalk": "1.1.0",
"clean-base-url": "^1.0.0",
"compression": "^1.4.4",
Expand Down

0 comments on commit b5c1ed2

Please sign in to comment.