Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

new dev release

  • Loading branch information...
commit 4c17142201f033c71b635ecd59c63cf3661d7477 1 parent 58d4b6d
@rvagg rvagg authored
Showing with 10 additions and 5 deletions.
  1. +5 −0 Changelog.md
  2. +3 −3 lib/main-compile.js
  3. +2 −2 package.json
View
5 Changelog.md
@@ -1,3 +1,8 @@
+0.9.6-dev (1.0-wip) / 2012-10-16
+================================
+
+ * Update Closure Compiler version in ender-minify to r2180
+
0.9.5-dev (1.0-wip) / 2012-10-15
================================
View
6 lib/main-compile.js
@@ -34,11 +34,11 @@
*/
var childProcess = require('child_process')
- , path = require('path')
, fs = require('fs')
, zlib = require('zlib')
, async = require('async')
, util = require('./util')
+ , enderMinify = require('ender-minify')
, FilesystemError = require('./errors').FilesystemError
, CompressionError = require('./errors').CompressionError
, ChildProcessError = require('./errors').ChildProcessError
@@ -62,14 +62,14 @@ var childProcess = require('child_process')
? args.externs.map(function (p) { return '--externs=' + p }).join(' ')
: ''
, cmd = javaCmd
- .replace('{jarPath}', path.resolve(__dirname, '../support/closure.jar'))
+ .replace('{jarPath}', enderMinify.closureJar)
.replace('{outfile}', outfile)
.replace('{js}', js)
.replace('{externs}', externs)
.replace('{level}', level)
.replace(/\s+/g, ' ')
- childProcess.exec(cmd, function (err, stdout, stderr) {
+ childProcess.exec(cmd, function (err) {
if (err) return callback(new ChildProcessError(err))
callback(null, outfile)
})
View
4 package.json
@@ -1,7 +1,7 @@
{
"name": "ender"
, "description": "Open Module JavaScript Framework"
- , "version": "0.9.5-dev"
+ , "version": "0.9.6-dev"
, "authors": [
"Jacob Thornton @fat <jacob@twitter.com> (https://github.com/fat)"
, "Dustin Diaz @ded <dustin@obvious.com> (https://github.com/ded)"
@@ -24,7 +24,7 @@
, "xregexp" : ">= 2.0.0"
, "errno" : ">= 0.0.1"
, "glob" : ">= 3.1.10"
- , "ender-minify" : ">= 0.0.1"
+ , "ender-minify" : ">= 0.0.3"
}
, "directories": {
"lib" : "./lib"
Please sign in to comment.
Something went wrong with that request. Please try again.