build: build addons into the "build" dir instead of "out"

This matches the old node-waf system. Having two different dirs for this stuff
is dumb.
This commit is contained in:
Nathan Rajlich authored and isaacs committed 2012-02-27 14:04:46 -08:00
1 parent cacd651ec6
commit ba0892ba91
1 file changed
+2 -2
+2 -2
View File
@@ -5,9 +5,9 @@ import sys
script_dir = os.path.dirname(__file__)
node_root = os.path.abspath(os.path.join(script_dir, os.pardir))
if sys.platform == 'win32':
output_dir = os.path.join(os.getcwd(), 'out')
output_dir = os.path.join(os.getcwd(), 'build')
else:
output_dir = 'out'
output_dir = 'build'
sys.path.insert(0, os.path.join(node_root, 'tools', 'gyp', 'pylib'))
import gyp