-
Notifications
You must be signed in to change notification settings - Fork 30k
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
tools: convert addon-verify to remark #21978
Conversation
This is the last use of the remark *module*. tools/remark-cli and tools/remark-preset-lint-node remain.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only suggestion I’d have is that it might be nice to add a comment to the script that explains what it does. :)
tools/doc/addon-verify.js
Outdated
@@ -1,6 +1,11 @@ | |||
'use strict'; | |||
|
|||
const { mkdir, readFileSync, writeFile } = require('fs'); | |||
// doc/api/addons.md has a bunch of code. Extract it for verification | |||
// that the c++ code comples and the js code runs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
compiles
tools/doc/addon-verify.js
Outdated
@@ -1,28 +1,38 @@ | |||
'use strict'; | |||
|
|||
const { mkdir, readFileSync, writeFile } = require('fs'); | |||
// doc/api/addons.md has a bunch of code. Extract it for verification | |||
// that the c++ code complles and the js code runs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
complles -> compiles :)
And maybe c++ -> C++
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This comment has been minimized.
This comment has been minimized.
Rebuild one failed OSX job: https://ci.nodejs.org/job/node-test-commit-osx/20042/ |
Can anybody look into the failing OSX job? Is this related to the PR? |
No, it's a problem related to one or more of:
Those bullet points above are actually me just paraphrasing what others have told me, not anything I have much knowledge of, so.... @rvagg @refack @addaleax |
Resume Build CI: https://ci.nodejs.org/job/node-test-pull-request/16036/ |
@Trott Yes, it’s odd – it looks like it starts building addons before |
#22006 tracking issue for this flakiness. |
Landed in 3ffd689 |
This is the last use of the remark *module*. tools/remark-cli and tools/remark-preset-lint-node remain. PR-URL: #21978 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Depends on #21697 to land on |
This is the last use of the remark *module*. tools/remark-cli and tools/remark-preset-lint-node remain. PR-URL: #21978 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This is the last use of the remark module. tools/remark-cli and
tools/remark-preset-lint-node remain.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes