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 /lib | |
| 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 'lib')
| -rw-r--r-- | lib/grunt/utils.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/grunt/utils.js b/lib/grunt/utils.js index 97beb71b..81ba063a 100644 --- a/lib/grunt/utils.js +++ b/lib/grunt/utils.js @@ -146,10 +146,8 @@ module.exports = { 'java ' + this.java32flags() + ' ' + '-Xmx2g ' + - '-cp components/closure-compiler/compiler.jar' + classPathSep + - 'components/ng-closure-runner/ngcompiler.jar ' + - // '-classpath ./components/closure-compiler/compiler.jar' + classPathSep + - // './components/ng-closure-runner/ngcompiler.jar ' + + '-cp bower_components/closure-compiler/compiler.jar' + classPathSep + + 'bower_components/ng-closure-runner/ngcompiler.jar ' + 'org.angularjs.closurerunner.NgClosureRunner ' + '--compilation_level SIMPLE_OPTIMIZATIONS ' + '--language_in ECMASCRIPT5_STRICT ' + |
