mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-04-16 21:01:13 +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: {
|
parallel: {
|
||||||
travis: {
|
travis: {
|
||||||
options: {
|
options: {
|
||||||
stream: true,
|
stream: true
|
||||||
},
|
},
|
||||||
tasks: [
|
tasks: [
|
||||||
util.parallelTask('test:docs'),
|
util.parallelTask('test:docs'),
|
||||||
|
|
|
||||||
|
|
@ -142,8 +142,10 @@ module.exports = {
|
||||||
'java ' +
|
'java ' +
|
||||||
this.java32flags() + ' ' +
|
this.java32flags() + ' ' +
|
||||||
'-Xmx2g ' +
|
'-Xmx2g ' +
|
||||||
'-classpath ./components/closure-compiler/compiler.jar' + classPathSep +
|
'-cp components/closure-compiler/compiler.jar' + classPathSep +
|
||||||
'./components/ng-closure-runner/ngcompiler.jar ' +
|
'components/ng-closure-runner/ngcompiler.jar ' +
|
||||||
|
// '-classpath ./components/closure-compiler/compiler.jar' + classPathSep +
|
||||||
|
// './components/ng-closure-runner/ngcompiler.jar ' +
|
||||||
'org.angularjs.closurerunner.NgClosureRunner ' +
|
'org.angularjs.closurerunner.NgClosureRunner ' +
|
||||||
'--compilation_level SIMPLE_OPTIMIZATIONS ' +
|
'--compilation_level SIMPLE_OPTIMIZATIONS ' +
|
||||||
'--language_in ECMASCRIPT5_STRICT ' +
|
'--language_in ECMASCRIPT5_STRICT ' +
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue