diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2009-10-04 10:33:39 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2009-10-04 10:33:39 +0200 |
commit | 39e6d959d74220762c20ae4d207972bc4a6118e9 (patch) | |
tree | 1d40fa6d7d131125cdbfe867baf5fb0c74ccea4f /bin | |
parent | 13793aed2022c6884b7b8b4dac6c649c28f2c070 (diff) | |
download | node-39e6d959d74220762c20ae4d207972bc4a6118e9.tar.gz |
Add node-waf to help with building addons.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/node-waf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bin/node-waf b/bin/node-waf new file mode 100755 index 000000000..b0280eb0b --- /dev/null +++ b/bin/node-waf @@ -0,0 +1,17 @@ +#!/usr/bin/env python +import os, sys + + +join = os.path.join +bindir = os.path.dirname(__file__) +prefix = join(bindir, "..") +wafdir = join(prefix, "lib", "node") + +w = join(wafdir, 'wafadmin') +t = join(w, 'Tools') +sys.path = [w, t] + sys.path + +import Scripting +VERSION="1.5.9" +Scripting.prepare(t, os.getcwd(), VERSION, wafdir) +sys.exit(0) |