aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Minar2013-06-06 22:35:43 -0700
committerIgor Minar2013-06-06 23:10:09 -0700
commit73534b354655db40a42931134c86f019e2f00990 (patch)
tree4f494db853ed8579634261cf5d8e8655e0563698
parent0317fd1651536cd0d7a0a5850c31db1ddaa87c0e (diff)
downloadangular.js-73534b354655db40a42931134c86f019e2f00990.tar.bz2
chore(closure-compiler): use bower to fetch closure compiler
this replaces the stale NPM dependency
-rw-r--r--bower.json3
-rw-r--r--lib/grunt/utils.js2
-rw-r--r--package.json1
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",