diff options
| author | Pete Bacon Darwin | 2013-07-07 21:33:07 +0100 | 
|---|---|---|
| committer | Pete Bacon Darwin | 2013-07-08 10:56:25 +0100 | 
| commit | d88dc4a64f0cc1e83d0dd85ffffd254e72d23ca9 (patch) | |
| tree | 0670a36672da1485a5fdaf1b983ac53b0b63bd1a | |
| parent | f59b9c6fbdfa134dcf682a5092e8835cc56abb54 (diff) | |
| download | angular.js-d88dc4a64f0cc1e83d0dd85ffffd254e72d23ca9.tar.bz2 | |
chore(grunt): tweak ng-closure-runner setup
| -rw-r--r-- | Gruntfile.js | 2 | ||||
| -rw-r--r-- | lib/grunt/utils.js | 6 | 
2 files changed, 5 insertions, 3 deletions
| diff --git a/Gruntfile.js b/Gruntfile.js index e420498a..be5b88a3 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -27,7 +27,7 @@ module.exports = function(grunt) {      parallel: {        travis: {          options: { -          stream: true, +          stream: true          },          tasks: [            util.parallelTask('test:docs'), diff --git a/lib/grunt/utils.js b/lib/grunt/utils.js index 9d42ce3b..ef9ae96d 100644 --- a/lib/grunt/utils.js +++ b/lib/grunt/utils.js @@ -142,8 +142,10 @@ module.exports = {          'java ' +              this.java32flags() + ' ' +              '-Xmx2g ' + -            '-classpath ./components/closure-compiler/compiler.jar' + classPathSep + -            './components/ng-closure-runner/ngcompiler.jar ' + +            '-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 ' +              'org.angularjs.closurerunner.NgClosureRunner ' +              '--compilation_level SIMPLE_OPTIMIZATIONS ' +              '--language_in ECMASCRIPT5_STRICT ' + | 
