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. --- lib/grunt/utils.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib') 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 ' + -- cgit v1.2.3