From ccd03da8e803a15fdd50e47c0ee71f9bbcfd911e Mon Sep 17 00:00:00 2001 From: Jo Liss Date: Sat, 29 Mar 2014 00:39:01 +0000 Subject: [PATCH] Update to Broccoli 0.5.0 syntax, without broccoli.makeTree --- Brocfile.js | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Brocfile.js b/Brocfile.js index 430d696..25f54dc 100644 --- a/Brocfile.js +++ b/Brocfile.js @@ -18,28 +18,28 @@ module.exports = function (broccoli) { return tree } - var app = broccoli.makeTree('app') + var app = 'app' app = pickFiles(app, { srcDir: '/', destDir: 'appkit' // move under appkit namespace }) app = preprocess(app) - var styles = broccoli.makeTree('styles') + var styles = 'styles' styles = pickFiles(styles, { srcDir: '/', destDir: 'appkit' }) styles = preprocess(styles) - var tests = broccoli.makeTree('tests') + var tests = 'tests' tests = pickFiles(tests, { srcDir: '/', destDir: 'appkit/tests' }) tests = preprocess(tests) - var vendor = broccoli.makeTree('vendor') + var vendor = 'vendor' var sourceTrees = [app, styles, vendor] if (env !== 'production') { @@ -77,7 +77,7 @@ module.exports = function (broccoli) { }) } - var publicFiles = broccoli.makeTree('public') + var publicFiles = 'public' return [appJs, appCss, publicFiles] } diff --git a/package.json b/package.json index 9ae5cce..5ea372b 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ }, "devDependencies": { "bower": "^1.2.8", - "broccoli": "^0.4.2", + "broccoli": "^0.5.0", "broccoli-env": "0.0.1", "broccoli-static-compiler": "^0.1.0", "broccoli-uglify-js": "^0.1.0",