Skip to content

Commit

Permalink
revert this as NPM can't deal with two top-level objects
Browse files Browse the repository at this point in the history
  • Loading branch information
postwait committed Jul 13, 2011
1 parent f1c625c commit 931b855
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compress/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
8 changes: 8 additions & 0 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 931b855

Please sign in to comment.