| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,27 @@ | |||
| 1 | + name: Node.js Windows integration | ||
| 2 | + | ||
| 3 | + on: [push, pull_request] | ||
| 4 | + | ||
| 5 | + jobs: | ||
| 6 | + build-windows: | ||
| 7 | + runs-on: windows-latest | ||
| 8 | + steps: | ||
| 9 | + - name: Clone node-gyp | ||
| 10 | + uses: actions/checkout@v2 | ||
| 11 | + with: | ||
| 12 | + path: gyp-next | ||
| 13 | + - name: Clone nodejs/node | ||
| 14 | + uses: actions/checkout@v2 | ||
| 15 | + with: | ||
| 16 | + repository: nodejs/node | ||
| 17 | + path: node | ||
| 18 | + - name: Install deps | ||
| 19 | + run: choco install nasm | ||
| 20 | + - name: Replace gyp in Node.js | ||
| 21 | + run: | | ||
| 22 | + rm -Recurse node/tools/gyp | ||
| 23 | + cp -Recurse gyp-next node/tools/gyp | ||
| 24 | + - name: Build Node.js | ||
| 25 | + run: | | ||
| 26 | + cd node | ||
| 27 | + ./vcbuild.bat | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - Copyright (c) 2019 Ujjwal Sharma. All rights reserved. | ||
| 1 | + Copyright (c) 2020 Node.js contributors. All rights reserved. | ||
| 2 | 2 | Copyright (c) 2009 Google Inc. All rights reserved. | |
| 3 | 3 | ||
| 4 | 4 | Redistribution and use in source and binary forms, with or without | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -364,7 +364,7 @@ def __init__(self): | |||
| 364 | 364 | dir=base_temp_dir, | |
| 365 | 365 | ) | |
| 366 | 366 | try: | |
| 367 | - self.tmp_file = os.fdopen(tmp_fd, "w") | ||
| 367 | + self.tmp_file = os.fdopen(tmp_fd, "wb") | ||
| 368 | 368 | except Exception: | |
| 369 | 369 | # Don't leave turds behind. | |
| 370 | 370 | os.unlink(self.tmp_path) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,7 +15,7 @@ | |||
| 15 | 15 | ||
| 16 | 16 | setup( | |
| 17 | 17 | name="gyp-next", | |
| 18 | - version="0.2.0", | ||
| 18 | + version="0.2.1", | ||
| 19 | 19 | description="A fork of the GYP build system for use in the Node.js projects", | |
| 20 | 20 | long_description=long_description, | |
| 21 | 21 | long_description_content_type="text/markdown", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments