chore(closure-compiler): use bower to fetch closure compiler

this replaces the stale NPM dependency
This commit is contained in:
Igor Minar
2013-06-06 22:35:43 -07:00
parent 0317fd1651
commit 73534b3546
3 changed files with 3 additions and 3 deletions

View File

@@ -5,6 +5,7 @@
"lunr.js": "0.3.1",
"google-code-prettify": "1.0.0",
"components-font-awesome": "3.1.0",
"bootstrap": "https://raw.github.com/twitter/bootstrap/v2.0.2/docs/assets/bootstrap.zip"
"bootstrap": "https://raw.github.com/twitter/bootstrap/v2.0.2/docs/assets/bootstrap.zip",
"closure-compiler": "https://closure-compiler.googlecode.com/files/compiler-20110615.zip"
}
}

View File

@@ -125,7 +125,7 @@ module.exports = {
shell.exec(
'java ' +
this.java32flags() + ' ' +
'-jar node_modules/closure-compiler/lib/vendor/compiler.jar ' +
'-jar components/closure-compiler/compiler.jar ' +
'--compilation_level SIMPLE_OPTIMIZATIONS ' +
'--language_in ECMASCRIPT5_STRICT ' +
'--js ' + file + ' ' +

View File

@@ -12,7 +12,6 @@
"grunt-contrib-copy": "0.4.1",
"grunt-shell": "~0.2.2",
"jasmine-node": "1.2.3",
"closure-compiler" : "0.2.0",
"q": "~0.9.2",
"q-fs": "0.1.36",
"qq": "0.3.5",