Skip to content

Commit

Permalink
Merge pull request grpc#6494 from murgatroid99/node_6_binaries
Browse files Browse the repository at this point in the history
Build Node 6 artifacts
  • Loading branch information
nicolasnoble committed May 10, 2016
2 parents 2434054 + 33b3b2a commit 8770f8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tools/run_tests/build_artifact_node.bat
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
@rem (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
@rem OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

set node_versions=0.12.0 1.0.0 1.1.0 2.0.0 3.0.0 4.0.0 5.0.0
set node_versions=0.12.0 1.0.0 1.1.0 2.0.0 3.0.0 4.0.0 5.0.0 6.0.0

set PATH=%PATH%;C:\Program Files\nodejs\;%APPDATA%\npm

Expand All @@ -38,12 +38,12 @@ call npm update || goto :error
mkdir artifacts

for %%v in (%node_versions%) do (
call node-pre-gyp configure build --target=%%v --target_arch=%1
call .\node_modules\.bin\node-pre-gyp.cmd configure build --target=%%v --target_arch=%1

@rem Try again after removing openssl headers
rmdir "%HOMEDRIVE%%HOMEPATH%\.node-gyp\%%v\include\node\openssl" /S /Q
rmdir "%HOMEDRIVE%%HOMEPATH%\.node-gyp\iojs-%%v\include\node\openssl" /S /Q
call node-pre-gyp build package testpackage --target=%%v --target_arch=%1 || goto :error
call .\node_modules\.bin\node-pre-gyp.cmd build package testpackage --target=%%v --target_arch=%1 || goto :error

xcopy /Y /I /S build\stage\* artifacts\ || goto :error
)
Expand Down
2 changes: 1 addition & 1 deletion tools/run_tests/build_artifact_node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ mkdir -p artifacts

npm update

node_versions=( 0.12.0 1.0.0 1.1.0 2.0.0 3.0.0 4.0.0 5.0.0 )
node_versions=( 0.12.0 1.0.0 1.1.0 2.0.0 3.0.0 4.0.0 5.0.0 6.0.0 )

for version in ${node_versions[@]}
do
Expand Down

0 comments on commit 8770f8f

Please sign in to comment.