From: Cheng Zhao Date: Wed, 21 Aug 2013 03:52:13 +0000 (+0800) Subject: Also copy gyp files when copying headers. X-Git-Tag: v0.4.1~12 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=5b862fdf609281335dcd0a5f6732791e1cb0bb52;p=electron.git Also copy gyp files when copying headers. --- diff --git a/script/create-dist.py b/script/create-dist.py index 83f1d187..74cb3693 100755 --- a/script/create-dist.py +++ b/script/create-dist.py @@ -28,9 +28,10 @@ HEADERS_DIRS = [ 'deps/v8', 'deps/zlib', 'deps/uv', - 'tools', ] HEADERS_FILES = [ + 'common.gypi', + 'config.gypi', ] @@ -66,6 +67,8 @@ def copy_headers(): if extension not in HEADERS_SUFFIX: continue copy_source_file(os.path.join(dirpath, filename)) + for other_file in HEADERS_FILES: + copy_source_file(os.path.join(NODE_DIR, other_file)) def copy_license():