/* jshint node: true */
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
var mergeTrees = require('broccoli-merge-trees');
var pickFiles = require('broccoli-static-compiler');

var velocity = pickFiles('node_modules/velocity-animate', {
  srcDir: '/',
  destDir: 'velocity'
});

var appTree = mergeTrees(['app-addon', 'app'], { overwrite: true });
var templateTree = mergeTrees(['app-addon/templates', 'app/templates'], { overwrite: true });
var vendorTree = mergeTrees([velocity, 'vendor-addon', 'vendor']);

var app = new EmberApp({
  trees: {
    app: appTree,
    vendor: vendorTree,
    templates: templateTree
  },
  snippetSearchPaths: ['app', 'app-addon', 'vendor-addon']
});

app.import("vendor/velocity/jquery.velocity.js");
app.import("vendor/moment/moment.js");
app.import("vendor/liquid-fire/liquid-fire.css");

var fonts = pickFiles('vendor/bootstrap-sass-official/assets/fonts/bootstrap', {
  srcDir:'/',
  destDir: '/fonts/bootstrap'
});

module.exports = mergeTrees([app.toTree(), fonts]);

/* jshint node: true */
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
var mergeTrees = require('broccoli-merge-trees');
var pickFiles = require('broccoli-static-compiler');

var velocity = pickFiles('node_modules/velocity-animate', {
  srcDir: '/',
  destDir: 'velocity'
});

var appTree = mergeTrees(['app-addon', 'app'], { overwrite: true });
var templateTree = mergeTrees(['app-addon/templates', 'app/templates'], { overwrite: true });
var vendorTree = mergeTrees([velocity, 'vendor-addon', 'vendor']);

var app = new EmberApp({
  trees: {
    app: appTree,
    vendor: vendorTree,
    templates: templateTree
  },
  snippetSearchPaths: ['app', 'app-addon', 'vendor-addon']
});

app.import("vendor/velocity/jquery.velocity.js");
app.import("vendor/moment/moment.js");
app.import("vendor/liquid-fire/liquid-fire.css");

var fonts = pickFiles('vendor/bootstrap-sass-official/assets/fonts', {
  srcDir:'/',
  destDir: 'assets'
});

module.exports = mergeTrees([app.toTree(), fonts]);

Revert "fix bootstrap glyphicon path"
Revert "fix bootstrap glyphicon path"

This reverts commit c064944321b712331d909eb2894617d4864cf0e8.
