Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

revert this as NPM can't deal with two top-level objects

  • Loading branch information...
commit 931b855736c4a5be3ef28d7bc3bc850296bd5549 1 parent f1c625c
@postwait authored
Showing with 9 additions and 1 deletion.
  1. +1 −1  lib/compress/index.js
  2. +8 −0 wscript
View
2  lib/compress/index.js
@@ -23,7 +23,7 @@
var events = require('events');
var Buffer = require('buffer').Buffer;
var assert = require('assert');
-var bindings = require('compress-bindings');
+var bindings = require('./compress-bindings');
function removed(str) {
return function() {
View
8 wscript
@@ -58,3 +58,11 @@ def build(bld):
obj.defines = bld.env.DEFINES
obj.uselib = bld.env.USELIB
+
+def shutdown():
+ if Options.commands['clean']:
+ if exists(dest):
+ unlink(dest)
+ else:
+ if exists(built):
+ copy(built, dest)
Please sign in to comment.
Something went wrong with that request. Please try again.