node-gc
node-gc copied to clipboard
Environment not fully "cleaned" with node-waf clean
Had problems with rebuilding gc.node on a new computer. The configure info is located in .lock-wscript which should also be deleted with the clean command. Here's a patch.
diff --git a/wscript b/wscript
index 710ade2..144e90b 100644
--- a/wscript
+++ b/wscript
@@ -25,6 +25,7 @@ def shutdown():
# better way to do this?
if Options.commands['clean']:
if exists('gc.node'): unlink('gc.node')
+ unlink('.lock-wscript')
else:
if exists('build/default/gc.node') and not exists('gc.node'):
symlink('build/default/gc.node', 'gc.node')
node-waf distclean deletes .lock-wscript, I think you should use it to full clean, and simple node-waf clean for only rebuild executable.