mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-01-12 22:45:52 +08:00
chore(closure-compiler): use bower to fetch closure compiler
this replaces the stale NPM dependency
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 + ' ' +
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user