From 576269b1b719715e3aec587edf4004ccc3d18f5b Mon Sep 17 00:00:00 2001 From: Ken Sheedlo Date: Mon, 29 Jul 2013 16:58:55 -0700 Subject: fix(bower): update bower usage and resources Changes: - Fix our old code to use bower_components/ as the install dir - Fix the Bootstrap asset to use github.com/twbs/bootstrap (it moved) - Fail the build on Bower failure. Bower should not fail silently. --- Gruntfile.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Gruntfile.js') diff --git a/Gruntfile.js b/Gruntfile.js index 6d0395fb..af04aca8 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -106,7 +106,9 @@ module.exports = function(grunt) { bower: { command: 'node ./node_modules/bower/bin/bower install', options: { - stdout: false + stdout: true, + stderr: true, + failOnError: true } } }, @@ -116,7 +118,7 @@ module.exports = function(grunt) { scenario: { dest: 'build/angular-scenario.js', src: [ - 'components/jquery/jquery.js', + 'bower_components/jquery/jquery.js', util.wrap([files['angularSrc'], files['angularScenario']], 'ngScenario/angular') ], styles: { -- cgit v1.2.3