mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
chore(grunt): tweak ng-closure-runner setup
This commit is contained in:
parent
f59b9c6fbd
commit
d88dc4a64f
2 changed files with 5 additions and 3 deletions
|
|
@ -27,7 +27,7 @@ module.exports = function(grunt) {
|
|||
parallel: {
|
||||
travis: {
|
||||
options: {
|
||||
stream: true,
|
||||
stream: true
|
||||
},
|
||||
tasks: [
|
||||
util.parallelTask('test:docs'),
|
||||
|
|
|
|||
|
|
@ -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 ' +
|
||||
|
|
|
|||
Loading…
Reference in a new issue