diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-10-28 19:43:00 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-10-28 19:43:36 -0700 |
commit | fa7dcbec8be1332f16e62675203598f4bb15645c (patch) | |
tree | 582981b56e420a984539077f0a378bba56fe33b1 /tools/node-waf | |
parent | 9bea4c8d5875da3f3b714a879a6a588f9f0af56e (diff) | |
download | node-new-fa7dcbec8be1332f16e62675203598f4bb15645c.tar.gz |
Install node-waf
Diffstat (limited to 'tools/node-waf')
-rwxr-xr-x | tools/node-waf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/node-waf b/tools/node-waf new file mode 100755 index 0000000000..cbf0d0b804 --- /dev/null +++ b/tools/node-waf @@ -0,0 +1,17 @@ +#!/usr/bin/env python +import os, sys + + +join = os.path.join +bindir = os.path.dirname(os.path.realpath(__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.16" +Scripting.prepare(t, os.getcwd(), VERSION, wafdir) +sys.exit(0) |