Skip to content

Conversation

@legendecas
Copy link
Member

Inline the helper functions and make the helper file
header only. So that no files need to be copied during the build (as in test/js-native-api/test_cannot_run_js/binding.gyp).

Refs: #48297 (comment)

Converting the helper functions to be inlined and making the helper file header only.
@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Sep 6, 2023

Review requested:

  • @nodejs/gyp
  • @nodejs/node-api

@nodejs-github-botnodejs-github-bot added build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. labels Sep 6, 2023
@legendecaslegendecas added test Issues and PRs related to the tests. node-api Issues and PRs related to the Node-API. build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. and removed build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. labels Sep 6, 2023
@lpincalpinca added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 7, 2023
@lpinca
Copy link
Member

I would also add a commit that reverts d15652e.

@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 7, 2023
@nodejs-github-bot
Copy link
Collaborator

@legendecaslegendecas added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 7, 2023
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 7, 2023
@nodejs-github-bot
Copy link
Collaborator

@legendecas
Copy link
MemberAuthor

I would also add a commit that reverts d15652e.

Thanks for the suggestion, applied the revert.

@nodejs-github-bot
Copy link
Collaborator

@legendecaslegendecas added commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. commit-queue Add this label to land a pull request using GitHub Actions. labels Sep 10, 2023
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 10, 2023
@nodejs-github-bot
Copy link
Collaborator

Landed in ae115d6...c55625f

nodejs-github-bot pushed a commit that referenced this pull request Sep 10, 2023
Converting the helper functions to be inlined and making the helper file header only. PR-URL: #49515 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]>
nodejs-github-bot pushed a commit that referenced this pull request Sep 10, 2023
This reverts commit d15652e. PR-URL: #49515 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]>
@legendecaslegendecas deleted the node-api/test-headers branch September 10, 2023 16:57
ruyadorno pushed a commit that referenced this pull request Sep 28, 2023
Converting the helper functions to be inlined and making the helper file header only. PR-URL: #49515 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]>
ruyadorno pushed a commit that referenced this pull request Sep 28, 2023
This reverts commit d15652e. PR-URL: #49515 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]>
This was referenced Sep 28, 2023
alexfernandez pushed a commit to alexfernandez/node that referenced this pull request Nov 1, 2023
Converting the helper functions to be inlined and making the helper file header only. PR-URL: nodejs#49515 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]>
alexfernandez pushed a commit to alexfernandez/node that referenced this pull request Nov 1, 2023
This reverts commit d15652e. PR-URL: nodejs#49515 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]>
targos pushed a commit that referenced this pull request Nov 27, 2023
Converting the helper functions to be inlined and making the helper file header only. PR-URL: #49515 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]>
@targostargos mentioned this pull request Nov 28, 2023
sercher added a commit to sercher/graaljs that referenced this pull request Apr 25, 2024
Converting the helper functions to be inlined and making the helper file header only. PR-URL: nodejs/node#49515 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]>
sercher added a commit to sercher/graaljs that referenced this pull request Apr 25, 2024
Converting the helper functions to be inlined and making the helper file header only. PR-URL: nodejs/node#49515 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

buildIssues and PRs related to build files or the CI.commit-queue-rebaseAdd this label to allow the Commit Queue to land a PR in several commits.needs-ciPRs that need a full CI run.node-apiIssues and PRs related to the Node-API.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@legendecas@nodejs-github-bot@lpinca@gabrielschulhof