diff --git a/README.md b/README.md index 13164368..0a94f027 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ It profits from these great projects: [Underscore.js](http://underscorejs.org) (MIT) + ## Build A prebuilt package can be found on the [project page](http://larsjung.de/h5ai/). If you want to build @@ -39,8 +40,8 @@ To build the project run the following command inside the project's root directo Run `makejs -t` to list all possible targets. -## Changelog +## Changelog ### v0.21 - *2012-08-??* diff --git a/makefile.js b/makefile.js index 8d1e6c60..32daec06 100644 --- a/makefile.js +++ b/makefile.js @@ -6,7 +6,7 @@ var path = require('path'), child_process = require('child_process'); -var version = '0.21-dev-37', +var version = '0.21-dev-43', root = path.resolve(__dirname), src = path.join(root, 'src'), @@ -159,17 +159,26 @@ module.exports = function (make) { .async(function (done, fail) { var target = path.join(build, 'h5ai-' + version + '.zip'), - command = 'zip -ro ' + target + ' _h5ai', - options = { cwd: build }; + cmd = 'zip', + args = ['-ro', target, '_h5ai'], + options = { cwd: build }, + proc = child_process.spawn(cmd, args, options); - child_process.exec(command, options, function (error, stdout, stderr) { + Event.info({ method: 'exec', message: cmd + ' ' + args.join(' ') }); - if (error === null) { - Event.ok({ method: 'zip', message: target }); - done(); - } else { - Event.error({ method: 'zip', message: stderr }); + // proc.stdout.on('data', function (data) { + // process.stdout.write(data); + // }); + proc.stderr.on('data', function (data) { + process.stderr.write(data); + }); + proc.on('exit', function (code) { + if (code) { + Event.error({ method: 'exec', message: cmd + ' exit code ' + code }); fail(); + } else { + Event.ok({ method: 'exec', message: 'created zipball ' + target }); + done(); } }); }); diff --git a/src/_h5ai/css/inc/preview-txt.less b/src/_h5ai/css/inc/preview-txt.less index da9bd3b5..97e8db62 100644 --- a/src/_h5ai/css/inc/preview-txt.less +++ b/src/_h5ai/css/inc/preview-txt.less @@ -30,7 +30,6 @@ .gutter .line { border-right: none !important; - // border-right: 3px solid #6CE26C !important; } } }