From 73534b354655db40a42931134c86f019e2f00990 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Thu, 6 Jun 2013 22:35:43 -0700 Subject: chore(closure-compiler): use bower to fetch closure compiler this replaces the stale NPM dependency --- bower.json | 3 ++- lib/grunt/utils.js | 2 +- package.json | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bower.json b/bower.json index eff3df32..ad73bb67 100644 --- a/bower.json +++ b/bower.json @@ -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" } } diff --git a/lib/grunt/utils.js b/lib/grunt/utils.js index 1a091198..27765b76 100644 --- a/lib/grunt/utils.js +++ b/lib/grunt/utils.js @@ -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 + ' ' + diff --git a/package.json b/package.json index 7441037a..5c4e3503 100644 --- a/package.json +++ b/package.json @@ -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", -- cgit v1.2.3