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

build: use make functions instead of echo #35707

Merged
merged 1 commit into from Oct 21, 2020
Merged

Conversation

Copy link
Contributor

@aduh95 aduh95 commented Oct 19, 2020

This PR replaces echo calls by built-in Make functions. I can see several advantages for doing that:

  • It states more clearly what is the intent (is it a warning? is it just an info?).
  • It outputs warnings and error messages to stderr instead of stdout.
  • It prints line number for warnings and errors, which may help collaborator to understand what's happening.
  • We have several deprecated build targets that are effectively aliases to other targets. It eases the process of deprecation if we were to deprecate them by changing warning to error.
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the build label Oct 19, 2020
Makefile Outdated Show resolved Hide resolved
@Trott
Copy link
Member

@Trott Trott commented Oct 19, 2020

Copy link
Member

@Trott Trott left a comment

LGTM if there are no unexpected Jenkins implications or anything like that

@Trott Trott added the request-ci label Oct 19, 2020
@github-actions github-actions bot removed the request-ci label Oct 19, 2020
@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Oct 19, 2020

@aduh95 aduh95 added author ready request-ci labels Oct 19, 2020
@github-actions github-actions bot removed the request-ci label Oct 19, 2020
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Oct 20, 2020

PR-URL: nodejs#35707
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@Trott
Copy link
Member

@Trott Trott commented Oct 21, 2020

Landed in a987a32

@Trott Trott merged commit a987a32 into nodejs:master Oct 21, 2020
23 of 25 checks passed
@aduh95 aduh95 deleted the use-make-functions branch Oct 21, 2020
BethGriggs pushed a commit that referenced this issue Oct 21, 2020
PR-URL: #35707
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@BethGriggs BethGriggs mentioned this pull request Oct 21, 2020
BethGriggs pushed a commit that referenced this issue Dec 8, 2020
PR-URL: #35707
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
BethGriggs pushed a commit that referenced this issue Dec 10, 2020
PR-URL: #35707
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@BethGriggs BethGriggs mentioned this pull request Dec 10, 2020
BethGriggs pushed a commit that referenced this issue Dec 15, 2020
PR-URL: #35707
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants