forked from ember-animation/liquid-fire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Brocfile.js
27 lines (21 loc) · 839 Bytes
/
Brocfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* global require, module */
var EmberAddon = require('ember-cli/lib/broccoli/ember-addon');
var fs = require('fs');
var path = require('path');
var app = new EmberAddon({
snippetPaths: ['tests/dummy/snippets'],
snippetSearchPaths: ['app', 'tests/dummy/app', 'addon'],
trees: {
'public': 'tests/dummy/public'
}
});
app.import('bower_components/moment/moment.js');
app.import('vendor/sinon.js', { type: 'test'});
if (!/^1\.[89]/.test(require('./bower_components/ember/bower.json').version)) {
app.import('bower_components/ember/ember-template-compiler.js', { type: 'test' });
}
var bootstrap = 'bower_components/bootstrap-sass-official/assets/fonts/bootstrap';
fs.readdirSync(bootstrap).forEach(function(font){
app.import(path.join(bootstrap, font), { destDir: '/fonts/bootstrap'});
});
module.exports = app.toTree();