diff options
| author | Ken Sheedlo | 2013-07-29 16:58:55 -0700 | 
|---|---|---|
| committer | Ken Sheedlo | 2013-07-29 17:26:01 -0700 | 
| commit | 576269b1b719715e3aec587edf4004ccc3d18f5b (patch) | |
| tree | c3465d950d50dd811b536c8f587a5d89ba7b404c /Gruntfile.js | |
| parent | e1a8b42400a842cbc19a09262efce8e05795db0e (diff) | |
| download | angular.js-576269b1b719715e3aec587edf4004ccc3d18f5b.tar.bz2 | |
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.
Diffstat (limited to 'Gruntfile.js')
| -rw-r--r-- | Gruntfile.js | 6 | 
1 files changed, 4 insertions, 2 deletions
| 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: { | 
