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

chore: Split up 'setup' task of Makefile #1242

Merged
merged 4 commits into from
Oct 19, 2023
Merged

Conversation

Laubi
Copy link
Contributor

@Laubi Laubi commented Oct 19, 2023

What this PR does / Why we need it:

Currently, when executing any makefile task, we usually install all tools that we do use somewhere in the makefile. This is most inconvenient and slow.

This change does split up the setup step and moves the install calls to the targets where they're actually used.

Does this PR introduce a user-facing change?

No

@Laubi Laubi marked this pull request as ready for review October 19, 2023 07:58
@Laubi Laubi requested a review from a team as a code owner October 19, 2023 07:58
@github-actions
Copy link

github-actions bot commented Oct 19, 2023

Unit Test Results

       2 files     222 suites   19s ⏱️
1 520 tests 1 520 ✔️ 0 💤 0
3 040 runs  3 040 ✔️ 0 💤 0

Results for commit 2658978.

♻️ This comment has been updated with latest results.

@UnseenWizzard
Copy link
Contributor

UnseenWizzard commented Oct 19, 2023

One note to this: originally, setup was an independent target that you manually run once - to setup the build dependencies. It was added to the steps that actually need the installed tools for convenience at some point.
It seems like a good step to move the installs to the commands and keep the convenience without the cost of always installing everything.

@Laubi Laubi force-pushed the chore/makefile-split-setup-task branch 2 times, most recently from d8ae0b9 to c05bbfd Compare October 19, 2023 12:49
Copy link
Contributor

@warber warber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Laubi Laubi force-pushed the chore/makefile-split-setup-task branch from c05bbfd to 2658978 Compare October 19, 2023 14:04
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@Laubi Laubi merged commit d0cfa4f into main Oct 19, 2023
11 checks passed
@Laubi Laubi deleted the chore/makefile-split-setup-task branch October 19, 2023 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants