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:
parent
cacd651ec6
commit
ba0892ba91
@ -5,9 +5,9 @@ import sys
|
|||||||
script_dir = os.path.dirname(__file__)
|
script_dir = os.path.dirname(__file__)
|
||||||
node_root = os.path.abspath(os.path.join(script_dir, os.pardir))
|
node_root = os.path.abspath(os.path.join(script_dir, os.pardir))
|
||||||
if sys.platform == 'win32':
|
if sys.platform == 'win32':
|
||||||
output_dir = os.path.join(os.getcwd(), 'out')
|
output_dir = os.path.join(os.getcwd(), 'build')
|
||||||
else:
|
else:
|
||||||
output_dir = 'out'
|
output_dir = 'build'
|
||||||
|
|
||||||
sys.path.insert(0, os.path.join(node_root, 'tools', 'gyp', 'pylib'))
|
sys.path.insert(0, os.path.join(node_root, 'tools', 'gyp', 'pylib'))
|
||||||
import gyp
|
import gyp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user