Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ba0892b

Browse files
TooTallNateisaacs
authored andcommitted
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.
1 parent cacd651 commit ba0892b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/gyp_addon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import sys
55
script_dir = os.path.dirname(__file__)
66
node_root = os.path.abspath(os.path.join(script_dir, os.pardir))
77
if sys.platform == 'win32':
8-
output_dir = os.path.join(os.getcwd(), 'out')
8+
output_dir = os.path.join(os.getcwd(), 'build')
99
else:
10-
output_dir = 'out'
10+
output_dir = 'build'
1111

1212
sys.path.insert(0, os.path.join(node_root, 'tools', 'gyp', 'pylib'))
1313
import gyp

0 commit comments

Comments
 (0)