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

fix: Improve Makefile dependency management #1918

Merged
merged 1 commit into from
Jun 22, 2020
Merged

Conversation

dalcde
Copy link
Contributor

@dalcde dalcde commented Jun 19, 2020

This install dependencies only when you make a target that needs it.

This also removes the check that certain system dependencies (e.g. go)
are installed. Instead, we simply let the target fail. This ensures we
only test for the desired dependencies.

Fixes #1916

Since I don't have the dependencies installed, I'm relying on CI to tell me if this is working properly...

  • I have read the contributing guidelines.
  • I have read the security policy.
  • I confirm that this pull request does not address a security
    vulnerability. If this pull request addresses a security. vulnerability, I
    confirm that I got green light (please contact
    security@ory.sh) from the maintainers to push
    the changes.
  • I have added tests that prove my fix is effective or that my feature
    works.
  • I have added or changed the documentation.

@dalcde dalcde changed the title Improve Makefile dependency management fix: Improve Makefile dependency management Jun 19, 2020
This install dependencies only when you make a target that needs it.

This also removes the check that certain system dependencies (e.g. go)
are installed. Instead, we simply let the target fail. This ensures we
only test for the desired dependencies.

Fixes ory#1916
@aeneasr
Copy link
Member

aeneasr commented Jun 22, 2020

Great job, thank you!

@aeneasr aeneasr merged commit 5359276 into ory:master Jun 22, 2020
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.

Makefile checks for unneeded dependencies
2 participants