Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v6.10.3 proposal #12498

Merged
merged 151 commits into from
May 2, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
b9766bd
doc: add supported platforms list
mhdawson Mar 17, 2017
0dfb9da
doc: add supported platforms list for v6.x
mhdawson Mar 20, 2017
de22ff6
doc: fix broken URL to event loop guide
sushi90 Mar 3, 2017
f928746
stream: avoid additional validation for Buffers
mscdex Jan 2, 2017
de63698
tools, test: require const/let in test
gibfahn Jan 8, 2017
db61c95
test: use eslint to fix var->const/let
gibfahn Mar 9, 2017
1604848
doc: fix stylistic issues in api/net.md
aqrln Mar 10, 2017
9162316
test: add arrow functions to test-util-inspect
aqrln Mar 10, 2017
f874256
test: skip when openssl CLI doesn't exist
sotayamashita Feb 1, 2017
ba23506
build: --without-ssl implies --without-inspector
bnoordhuis Apr 4, 2017
c138ba3
doc: new TLSSocket has no secure context options
sam-github Dec 30, 2016
4fd765e
doc: clarify memory sharing behavior of buffer ctor
zbjornson Jan 13, 2017
f064520
test: improve test-fs-access
edsadr Jan 3, 2017
afea1d0
test: refactor test-beforeexit-event-exit.js
cjihrig Jan 2, 2017
6f85c81
test: s/assert.equal/assert.strictEqual/
gibfahn Jan 8, 2017
12c0ce7
assert, tools: enforce strict (not)equal in eslint
gibfahn Jan 8, 2017
eb47897
test: refactor test-stream2-readable-wrap.js
DavidGoussev Dec 31, 2016
a1cb699
test: getgroups() may contain duplicate GIDs
sam-github Dec 21, 2016
f1c2f26
doc,test: tls .ca option supports multi-PEM files
sam-github Dec 21, 2016
1d7fab3
test: tls cert chain completion scenarios
sam-github Dec 20, 2016
cbfc3fc
doc: use correct tls certificate property name
sam-github Dec 20, 2016
4207bce
test: check tls server verification with addCACert
sam-github Dec 20, 2016
4575f92
test: move common tls connect setup into fixtures
sam-github Dec 17, 2016
c9b302b
doc: make os api doc more consistent
evanlucas Jan 25, 2017
6c3b104
doc: fix typo in STYLE_GUIDE.md
seishun Feb 28, 2017
109fd72
doc: use common malformed instead of misformatted
jsumners Feb 23, 2017
0aab050
doc: add link to references in net.Socket
joyeecheung Mar 1, 2017
0322d3b
test: skip tests with common.skip
thefourtheye Feb 27, 2017
c0663e5
doc: fixup errors.md
vsemozhetbyt Feb 26, 2017
06752d1
net: remove misleading comment
bnoordhuis Feb 27, 2017
d4f2ef7
test: apply strict mode in test-repl
Trott Feb 27, 2017
a042c8a
doc: fix typo in stream doc
bradley-curran Feb 26, 2017
f0288f3
meta: remove out of date ROADMAP.md file
jasnell Feb 25, 2017
678e225
test: improve https coverage to check create connection
Feb 17, 2017
640b72e
test: fix flaky test-https-agent-create-connection
santigimeno Mar 2, 2017
39f7aaa
timers: unlock the timers API
Trott Feb 27, 2017
a27098d
test: enable max-len for test-repl
Trott Feb 26, 2017
96924ed
test: add test-buffer-prototype-inspect
Trott Feb 28, 2017
5d74c9e
buffer: refactor Buffer.prototype.inspect()
Trott Feb 28, 2017
3e6d992
tools: remove NODE_PATH from environment for tests
Trott Feb 28, 2017
b1ddf11
tls: fix macro to check NPN feature
shigeki Mar 2, 2017
7cc4645
test: fix tests when npn feature is disabled.
shigeki Mar 2, 2017
3419b7a
doc: add `Daijiro Wachi` to collaborators
watilde Mar 3, 2017
6344997
url: use `hasIntl` instead of `try-catch`
watilde Feb 28, 2017
1b4f69a
test: remove obsolete eslint-disable comment
Trott Mar 2, 2017
1035967
src: remove outdated FIXME in node_crypto.cc
danbev Mar 3, 2017
a43aa0e
test: changed test1 of test-vm-timeout.js
moe-dizzle Feb 27, 2017
e02d724
doc: fix misleading ASCII comments
rahatarmanahmed Mar 2, 2017
70a6a0a
doc: unlock module
Trott Mar 2, 2017
40b27ba
doc: remove Locked from stability index
Trott Mar 2, 2017
e8f0dba
doc: fixed readable.isPaused() version annotation
lfortin Mar 3, 2017
91b8da6
test: skip the test with proper TAP message
thefourtheye Feb 27, 2017
a899b0b
build: fix llvm version detection in freebsd-10
shigeki Mar 3, 2017
e3105cf
meta: move WORKING_GROUPS.md to CTC repo
jasnell Feb 25, 2017
3858861
tools: add links to the stability index reference
michaelcox Mar 2, 2017
4befdd1
test: limit lint rule disabling in message test
Trott Mar 6, 2017
5a93eab
test: increase coverage of console
DavidCai1111 Mar 2, 2017
aa98150
test: add script to create 0-dns-cert.pem
shigeki Feb 27, 2017
67b6d7d
test: add test for loading from global folders
richardlau Oct 20, 2016
500d17b
module: fix loading from global folders on Windows
richardlau Oct 25, 2016
1276033
doc: add Franziska Hinkelmann to the CTC
rvagg Feb 22, 2017
8de856b
doc: fix process links to console.log/error
sam-github Mar 6, 2017
0acebb9
doc: fix occurences of "the the"
JeroenMandersloot Mar 6, 2017
0e13887
doc: reduce font size on smaller screens
gibfahn Mar 5, 2017
cd98f5d
test: fix flaky test-http-set-timeout-server
santigimeno Mar 10, 2017
be537d0
doc: package main can be directory with an index
bmeck Feb 27, 2017
82d2f13
doc: update to current V8 versions
fhinkel Mar 10, 2017
2c2a664
build: add node_use_openssl check to install.py
danbev Mar 9, 2017
1baee18
tls: keep track of stream that is closed
jBarz Mar 9, 2017
457c47d
stream_base,tls_wrap: notify on destruct
trevnorris Oct 31, 2016
858bbaa
Partial revert "tls: keep track of stream that is closed"
trevnorris Mar 20, 2017
7d4941f
test: fix args in parallel/test-fs-null-bytes.js
vsemozhetbyt Mar 3, 2017
1158f44
events,test: fix TypeError in EventEmitter warning
jseagull Oct 10, 2016
4d916da
test: fail when child dies in fork-net
joyeecheung Mar 4, 2017
a3f327f
test: add regex to assert.throws
matejkrajcovic Mar 12, 2017
46b2e45
test: added test for indexed properties
AnnaMag Mar 9, 2017
72710d0
test: fix flaky test-domain-abort-on-uncaught
Trott Mar 12, 2017
8e5c8a3
test: failing behaviour on sandboxed Proxy
AnnaMag Mar 2, 2017
9dd918b
test: fix assertion in vm test
AnnaMag Mar 14, 2017
f8426d9
lib: remove unused msg parameter in debug_agent
mr-spd Mar 13, 2017
331c0a8
doc: console.log() -> console.error() in events.md
vsemozhetbyt Mar 12, 2017
8a521fe
doc: var -> let / const in events.md
vsemozhetbyt Mar 12, 2017
463f294
doc: correct comment error in stream.md
Alex-Sokolov Mar 11, 2017
b8e3a5f
doc: fix a typo in api/process.md
sabakugaara Mar 10, 2017
c10a4a2
doc: add note that vm module is not a security mechanism
krydos Feb 25, 2017
f53c48e
doc: add vsemozhetbyt to collaborators
vsemozhetbyt Mar 20, 2017
d0868ff
tls: fix segfault on destroy after partial read
bnoordhuis Mar 17, 2017
8cdddcd
deps: cherry-pick ca0f9573 from V8 upstream
ofrobots Mar 20, 2017
53d7a89
buffer: remove unneeded eslint-disable comment
Trott Mar 17, 2017
4a97bc7
doc: add missing word in stream.md
jyotman Mar 18, 2017
1434e7f
src: ensure that fd 0-2 are valid on windows
bzoz Mar 14, 2017
d149844
doc: fix gitter badge in README
silverwind Mar 20, 2017
abbf6e3
benchmark: fix fs\bench-realpathSync.js
vsemozhetbyt Mar 17, 2017
485bb1b
test: fix flaky test-tls-socket-close
Trott Mar 19, 2017
3801790
test: add test for child_process.execFile()
Trott Mar 19, 2017
c33933e
src, buffer: do not segfault on out-of-range index
TimothyGu Mar 19, 2017
3ad0a14
doc: require uses fs root for '/' prefix
bmeck Mar 17, 2017
fb0a2e4
doc: remove superfluous sample assert code
Trott Mar 20, 2017
6885dcc
doc: correct info in child_process.md
vsemozhetbyt Mar 20, 2017
632aee1
timers: fix not to close reused timer handle
shigeki Feb 20, 2017
aab9526
doc: update collaborator email address
Trott Mar 22, 2017
6063a4a
test: improve test-vm-cached-data.js
mpelekh Mar 21, 2017
31dea5c
test: invalid chars in http client path
lucamaraschi Mar 21, 2017
4d6b484
test: refactor test-cli-eval.js
StarryShark Jan 12, 2017
b6c30e1
test: fix broken assertion
cjihrig Jan 16, 2017
2ee2cc6
test: refactor test-cli-eval.js
cjihrig Jan 19, 2017
4cb4803
test: add coverage for child_process bounds check
Trott Mar 11, 2017
1a7d633
lib: fix event race condition with -e
bnoordhuis Mar 21, 2017
0fff04f
lib: add comment to script eval _tickCallback
gibfahn Mar 26, 2017
b69cac7
test: refactor test-cluster-disconnect
Trott Mar 22, 2017
fcc19e1
test: add second argument to assert.throws()
rjbernaldo Mar 24, 2017
c65de59
test: add regex for expected error message
jfmercer Mar 23, 2017
f23377c
test: test validity of prefix in mkdtempSync
lucamaraschi Mar 23, 2017
cddc32c
test: replace throw with common.fail
itsmed Nov 19, 2016
9703513
doc: fix process.stdout fd number
fmy Mar 27, 2017
81f561b
doc: stdout/err/in are all Duplex streams
seppevs Feb 6, 2017
e2279e2
test: fix broken tests in test-buffer-includes
aqrln Mar 25, 2017
9dda771
doc: update and modernize examples in fs.ms
vsemozhetbyt Mar 25, 2017
eb19acb
test: fix misleading comment
fhinkel Mar 26, 2017
cad425c
tools: update dotfile whitelist in .gitignore
targos Mar 29, 2017
1a63321
src: fix base64 decoding
seishun Mar 22, 2017
4caae69
test: reduce buffer size in buffer-creation test
thefourtheye Feb 5, 2017
d007427
doc: add logo to README
silverwind Mar 31, 2017
7af8738
test: fix flaky test-child-process-exec-timeout
santigimeno Apr 1, 2017
5f928a8
test: increase querystring coverage
DavidCai1111 Apr 2, 2017
a93eaa4
test: performance, remove Popen(shell=True) on Win
refack Mar 30, 2017
49ee30b
test: more robust check for location of `node.exe`
refack Mar 29, 2017
f4dd304
doc: add table of contents to README.md
Minimalistic Mar 1, 2017
c0d9b1c
doc: fix string interpolation in Stream 'finish'
vhmth Apr 4, 2017
811ccdf
doc: modernize and fix code examples in https.md
vsemozhetbyt Apr 2, 2017
c2c467e
build: make configure print statements consistent
danbev Apr 3, 2017
986ef6f
build: add checks for openssl configure options
danbev Apr 3, 2017
a30ae72
test: skip irrelevant test on Windows
Trott Apr 6, 2017
8c92273
test: add a second argument to assert.throws()
dave-k Mar 30, 2017
3b38e71
doc: add aqrln to collaborators
aqrln Apr 7, 2017
7e67176
doc: document the performance team
gibfahn Apr 4, 2017
34f9dfd
doc: fix confusing reference in net.md
vsemozhetbyt Apr 5, 2017
88f402c
doc: update information on test/known_issues
Apr 6, 2017
8d1a474
doc: fix confusing example in process.md
vsemozhetbyt Apr 8, 2017
6eb1c25
tools: ignore URLs in line length linting
Trott Mar 17, 2017
22af92a
doc: add richardlau to collaborators
richardlau Mar 24, 2017
eddfd52
doc: add refack to collaborators
refack Apr 7, 2017
03f9388
doc: clarify out-of-bounds behavior of buf[index]
seishun Feb 10, 2017
c667e6e
src: add fcntl.h include to node.cc
bzoz Apr 20, 2017
62e047e
deps: backport ec1ffe3 from upstream V8
danbev Mar 27, 2017
d15188f
doc: modernize and fix code examples in modules.md
vsemozhetbyt Apr 5, 2017
e7e83f6
build: use $(RM) in Makefile for consistency
gibfahn Apr 1, 2017
cd78a2b
deps: backport 75f2d65f00 from upstream V8
hashseed Apr 20, 2017
aae3765
test: refactor several parallel/test-timer tests
BethGriggs Dec 29, 2016
bed6acb
Revert "src: fix delete operator on vm context"
MylesBorins Apr 28, 2017
a0bfd4f
2017-05-02, Version 6.10.3 'Boron' (LTS)
MylesBorins Apr 19, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
28 changes: 16 additions & 12 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,21 @@ rules:
no-new-require: 2
no-path-concat: 2
no-restricted-modules: [2, sys, _linklist]
no-restricted-properties: [2, {
object: assert,
property: deepEqual,
message: Please use assert.deepStrictEqual().
}, {
property: __defineGetter__,
message: __defineGetter__ is deprecated.
}, {
property: __defineSetter__,
message: __defineSetter__ is deprecated.
}]
no-restricted-properties:
- 2
- object: assert
property: deepEqual
message: Use assert.deepStrictEqual().
- object: assert
property: equal
message: Use assert.strictEqual() rather than assert.equal().
- object: assert
property: notEqual
message: Use assert.notStrictEqual() rather than assert.notEqual().
- property: __defineGetter__
message: __defineGetter__ is deprecated.
- property: __defineSetter__,
message: __defineSetter__ is deprecated.

# Stylistic Issues
# http://eslint.org/docs/rules/#stylistic-issues
Expand All @@ -92,7 +96,7 @@ rules:
key-spacing: [2, {mode: minimum}]
keyword-spacing: 2
linebreak-style: [2, unix]
max-len: [2, 80, 2]
max-len: [2, {code: 80, ignoreUrls: true, tabWidth: 2}]
new-parens: 2
no-mixed-spaces-and-tabs: 2
no-multiple-empty-lines: [2, {max: 2, maxEOF: 0, maxBOF: 0}]
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
!tools/doc/node_modules/**/.*
!.editorconfig
!.eslintignore
!.eslintrc
!.eslintrc.yaml
!.gitattributes
!.github
!.gitignore
Expand Down
2 changes: 1 addition & 1 deletion .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ San-Tai Hsu <[email protected]>
Scott Blomquist <[email protected]> <[email protected]>
Sergey Kryzhanovsky <[email protected]> <[email protected]>
Shannen Saez <[email protected]>
Shigeki Ohtsu <[email protected]> <[email protected]>
Shigeki Ohtsu <[email protected]> <[email protected]> <[email protected]>
Siddharth Mahendraker <[email protected]> <[email protected]>
Simon Willison <[email protected]>
Stanislav Opichal <[email protected]>
Expand Down
78 changes: 73 additions & 5 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,71 @@ If you consistently can reproduce a test failure, search for it in the
[Node.js issue tracker](https://github.com/nodejs/node/issues) or
file a new issue.

## Supported platforms

This list of supported platforms is current as of the branch / release to
which it is attached.

### Input

Node.js relies on V8 and libuv. Therefore, we adopt a subset of their
supported platforms.

### Strategy

Support is divided into three tiers:

* **Tier 1**: Full test coverage and maintenance by the Node.js core team and
the broader community.
* **Tier 2**: Full test coverage but more limited maintenance,
often provided by the vendor of the platform.
* **Experimental**: Known to compile but not necessarily reliably or with
a full passing test suite. These are often working to be promoted to Tier
2 but are not quite ready. There is at least one individual actively
providing maintenance and the team is striving to broaden quality and
reliability of support.

### Supported platforms

| System | Support type | Version | Architectures | Notes |
|--------------|--------------|----------------------------------|----------------------|------------------|
| GNU/Linux | Tier 1 | kernel >= 2.6.18, glibc >= 2.5 | x86, x64, arm, arm64 | |
| macOS | Tier 1 | >= 10.10 | x64 | |
| Windows | Tier 1 | >= Windows 7 or >= Windows2008R2 | x86, x64 | |
| SmartOS | Tier 2 | >= 14 < 16.4 | x86, x64 | see note1 |
| FreeBSD | Tier 2 | >= 10 | x64 | |
| GNU/Linux | Tier 2 | kernel >= 4.2.0, glibc >= 2.19 | ppc64be | |
| GNU/Linux | Tier 2 | kernel >= 3.13.0, glibc >= 2.19 | ppc64le | |
| AIX | Tier 2 | >= 6.1 TL09 | ppc64be | |
| GNU/Linux | Tier 2 | kernel >= 3.10, glibc >= 2.17 | s390x | |
| macOS | Experimental | >= 10.8 < 10.10 | x64 | no test coverage |
| Linux (musl) | Experimental | musl >= 1.0 | x64 | |

note1 - The gcc4.8-libs package needs to be installed, because node
binaries have been built with GCC 4.8, for which runtime libraries are not
installed by default. For these node versions, the recommended binaries
are the ones available in pkgsrc, not the one available from nodejs.org.
Note that the binaries downloaded from the pkgsrc repositories are not
officially supported by the Node.js project, and instead are supported
by Joyent. SmartOS images >= 16.4 are not supported because
GCC 4.8 runtime libraries are not available in their pkgsrc repository

### Supported toolchains

Depending on host platform, the selection of toolchains may vary.

#### Unix

* GCC 4.8 or newer
* Clang 3.4 or newer

#### Windows

* Building Node: Visual Studio 2015 or Visual C++ Build Tools 2015 or newer
* Building native add-ons: Visual Studio 2013 or Visual C++ Build Tools 2015
or newer

## Building Node.js on supported platforms

### Unix / OS X

Expand All @@ -20,9 +85,9 @@ Prerequisites:

On OS X, you will also need:
* [Xcode](https://developer.apple.com/xcode/download/)
* You also need to install the `Command Line Tools` via Xcode. You can find
- You also need to install the `Command Line Tools` via Xcode. You can find
this under the menu `Xcode -> Preferences -> Downloads`
* This step will install `gcc` and the related toolchain containing `make`
- This step will install `gcc` and the related toolchain containing `make`

* After building, you may want to setup [firewall rules](tools/macosx-firewall.sh)
to avoid popups asking to accept incoming network connections when running tests:
Expand Down Expand Up @@ -51,7 +116,8 @@ the `-j4` flag. See the
[GNU Make Documentation](https://www.gnu.org/software/make/manual/html_node/Parallel.html)
for more information.

Note that the above requires that `python` resolve to Python 2.6 or 2.7 and not a newer version.
Note that the above requires that `python` resolve to Python 2.6 or 2.7
and not a newer version.

To run the tests:

Expand Down Expand Up @@ -252,9 +318,11 @@ It is possible to build Node.js with

**Note**: building in this way does **not** allow you to claim that the
runtime is FIPS 140-2 validated. Instead you can indicate that the runtime
uses a validated module. See the [security policy](http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140sp/140sp1747.pdf)
uses a validated module. See the
[security policy](http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140sp/140sp1747.pdf)
page 60 for more details. In addition, the validation for the underlying module
is only valid if it is deployed in accordance with its [security policy](http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140sp/140sp1747.pdf).
is only valid if it is deployed in accordance with its
[security policy](http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140sp/140sp1747.pdf).
If you need FIPS validated cryptography it is recommended that you read both
the [security policy](http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140sp/140sp1747.pdf)
and [user guide](https://openssl.org/docs/fips/UserGuide-2.0.pdf).
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V6.md#6.10.2">6.10.2</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V6.md#6.10.3">6.10.3</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V6.md#6.10.2">6.10.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V6.md#6.10.1">6.10.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V6.md#6.10.0">6.10.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V6.md#6.9.5">6.9.5</a><br/>
Expand Down
9 changes: 0 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,6 @@ $ git remote add upstream git://github.com/nodejs/node.git
For developing new features and bug fixes, the `master` branch should be pulled
and built upon.

#### Respect the stability index

The rules for the master branch are less strict; consult the
[stability index](./doc/api/documentation.md#stability-index) for details.

In a nutshell, modules are at varying levels of API stability. Bug fixes are
always welcome but API or behavioral changes to modules at stability level 3
(Locked) are off-limits.

#### Dependencies

Node.js has several bundled dependencies in the *deps/* and the *tools/*
Expand Down
76 changes: 38 additions & 38 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,24 +90,24 @@ uninstall:
$(PYTHON) tools/install.py $@ '$(DESTDIR)' '$(PREFIX)'

clean:
-rm -rf out/Makefile $(NODE_EXE) $(NODE_G_EXE) out/$(BUILDTYPE)/$(NODE_EXE) \
$(RM) -r out/Makefile $(NODE_EXE) $(NODE_G_EXE) out/$(BUILDTYPE)/$(NODE_EXE) \
out/$(BUILDTYPE)/node.exp
@if [ -d out ]; then find out/ -name '*.o' -o -name '*.a' -o -name '*.d' | xargs rm -rf; fi
-rm -rf node_modules
@if [ -d deps/icu ]; then echo deleting deps/icu; rm -rf deps/icu; fi
-rm -f test.tap
@if [ -d out ]; then find out/ -name '*.o' -o -name '*.a' -o -name '*.d' | xargs $(RM) -r; fi
$(RM) -r node_modules
@if [ -d deps/icu ]; then echo deleting deps/icu; $(RM) -r deps/icu; fi
$(RM) test.tap

distclean:
-rm -rf out
-rm -f config.gypi icu_config.gypi config_fips.gypi
-rm -f config.mk
-rm -rf $(NODE_EXE) $(NODE_G_EXE)
-rm -rf node_modules
-rm -rf deps/icu
-rm -rf deps/icu4c*.tgz deps/icu4c*.zip deps/icu-tmp
-rm -f $(BINARYTAR).* $(TARBALL).*
-rm -rf deps/v8/testing/gmock
-rm -rf deps/v8/testing/gtest
$(RM) -r out
$(RM) config.gypi icu_config.gypi config_fips.gypi
$(RM) config.mk
$(RM) -r $(NODE_EXE) $(NODE_G_EXE)
$(RM) -r node_modules
$(RM) -r deps/icu
$(RM) -r deps/icu4c*.tgz deps/icu4c*.zip deps/icu-tmp
$(RM) $(BINARYTAR).* $(TARBALL).*
$(RM) -r deps/v8/testing/gmock
$(RM) -r deps/v8/testing/gtest

check: test

Expand Down Expand Up @@ -367,7 +367,7 @@ docopen: $(apidocs_html)
@$(PYTHON) -mwebbrowser file://$(PWD)/out/doc/api/all.html

docclean:
-rm -rf out/doc
$(RM) -r out/doc

build-ci:
$(PYTHON) ./configure $(CONFIG_FLAGS)
Expand Down Expand Up @@ -542,8 +542,8 @@ release-only:
fi

$(PKG): release-only
rm -rf $(PKGDIR)
rm -rf out/deps out/Release
$(RM) -r $(PKGDIR)
$(RM) -r out/deps out/Release
$(PYTHON) ./configure \
--dest-cpu=x64 \
--tag=$(TAG) \
Expand Down Expand Up @@ -574,24 +574,24 @@ $(TARBALL): release-only $(NODE_EXE) doc
mkdir -p $(TARNAME)/doc/api
cp doc/node.1 $(TARNAME)/doc/node.1
cp -r out/doc/api/* $(TARNAME)/doc/api/
rm -rf $(TARNAME)/deps/v8/{test,samples,tools/profviz,tools/run-tests.py}
rm -rf $(TARNAME)/doc/images # too big
rm -rf $(TARNAME)/deps/uv/{docs,samples,test}
rm -rf $(TARNAME)/deps/openssl/openssl/{doc,demos,test}
rm -rf $(TARNAME)/deps/zlib/contrib # too big, unused
rm -rf $(TARNAME)/.{editorconfig,git*,mailmap}
rm -rf $(TARNAME)/tools/{eslint,eslint-rules,osx-pkg.pmdoc,pkgsrc}
rm -rf $(TARNAME)/tools/{osx-*,license-builder.sh,cpplint.py}
rm -rf $(TARNAME)/test*.tap
find $(TARNAME)/ -name ".eslint*" -maxdepth 2 | xargs rm
find $(TARNAME)/ -type l | xargs rm # annoying on windows
$(RM) -r $(TARNAME)/deps/v8/{test,samples,tools/profviz,tools/run-tests.py}
$(RM) -r $(TARNAME)/doc/images # too big
$(RM) -r $(TARNAME)/deps/uv/{docs,samples,test}
$(RM) -r $(TARNAME)/deps/openssl/openssl/{doc,demos,test}
$(RM) -r $(TARNAME)/deps/zlib/contrib # too big, unused
$(RM) -r $(TARNAME)/.{editorconfig,git*,mailmap}
$(RM) -r $(TARNAME)/tools/{eslint,eslint-rules,osx-pkg.pmdoc,pkgsrc}
$(RM) -r $(TARNAME)/tools/{osx-*,license-builder.sh,cpplint.py}
$(RM) -r $(TARNAME)/test*.tap
find $(TARNAME)/ -name ".eslint*" -maxdepth 2 | xargs $(RM)
find $(TARNAME)/ -type l | xargs $(RM) # annoying on windows
tar -cf $(TARNAME).tar $(TARNAME)
rm -rf $(TARNAME)
$(RM) -r $(TARNAME)
gzip -c -f -9 $(TARNAME).tar > $(TARNAME).tar.gz
ifeq ($(XZ), 0)
xz -c -f -$(XZ_COMPRESSION) $(TARNAME).tar > $(TARNAME).tar.xz
endif
rm $(TARNAME).tar
$(RM) $(TARNAME).tar

tar: $(TARBALL)

Expand Down Expand Up @@ -620,14 +620,14 @@ $(TARBALL)-headers: release-only
--release-urlbase=$(RELEASE_URLBASE) \
$(CONFIG_FLAGS) $(BUILD_RELEASE_FLAGS)
HEADERS_ONLY=1 $(PYTHON) tools/install.py install '$(TARNAME)' '/'
find $(TARNAME)/ -type l | xargs rm -f
find $(TARNAME)/ -type l | xargs $(RM)
tar -cf $(TARNAME)-headers.tar $(TARNAME)
rm -rf $(TARNAME)
$(RM) -r $(TARNAME)
gzip -c -f -9 $(TARNAME)-headers.tar > $(TARNAME)-headers.tar.gz
ifeq ($(XZ), 0)
xz -c -f -$(XZ_COMPRESSION) $(TARNAME)-headers.tar > $(TARNAME)-headers.tar.xz
endif
rm $(TARNAME)-headers.tar
$(RM) $(TARNAME)-headers.tar

tar-headers: $(TARBALL)-headers

Expand All @@ -643,8 +643,8 @@ ifeq ($(XZ), 0)
endif

$(BINARYTAR): release-only
rm -rf $(BINARYNAME)
rm -rf out/deps out/Release
$(RM) -r $(BINARYNAME)
$(RM) -r out/deps out/Release
$(PYTHON) ./configure \
--prefix=/ \
--dest-cpu=$(DESTCPU) \
Expand All @@ -656,12 +656,12 @@ $(BINARYTAR): release-only
cp LICENSE $(BINARYNAME)
cp CHANGELOG.md $(BINARYNAME)
tar -cf $(BINARYNAME).tar $(BINARYNAME)
rm -rf $(BINARYNAME)
$(RM) -r $(BINARYNAME)
gzip -c -f -9 $(BINARYNAME).tar > $(BINARYNAME).tar.gz
ifeq ($(XZ), 0)
xz -c -f -$(XZ_COMPRESSION) $(BINARYNAME).tar > $(BINARYNAME).tar.xz
endif
rm $(BINARYNAME).tar
$(RM) $(BINARYNAME).tar

binary: $(BINARYTAR)

Expand Down
Loading