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

dub v1.1.1 #7470

Closed
wants to merge 1 commit into from
Closed

dub v1.1.1 #7470

wants to merge 1 commit into from

Conversation

John-Colvin
Copy link
Contributor

@John-Colvin John-Colvin commented Dec 2, 2016

  • Have you followed the guidelines for contributing?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

Doesn't pass audit because it doesn't like recommended dependencies for some reason. Can someone explain? I read about it https://github.com/Homebrew/brew/blob/master/docs/Formula-Cookbook.md#specifying-other-formulae-as-dependencies so I assumed it would be ok to use.

end

depends_on "pkg-config" => :build
depends_on "pkg-config" => :recommended
Copy link
Member

Choose a reason for hiding this comment

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

depends_on "pkg-config" => [:recommended, :build] but I do wonder the benefits of making this optional?

Copy link
Contributor Author

@John-Colvin John-Colvin Dec 2, 2016

Choose a reason for hiding this comment

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

dub uses it at runtime if it can find it, but is also perfectly happy without. It's no longer used for building dub itself unless you're building it with an old compiler. I've updated it to depends_on "pkg-config" => [:recommended, :run]

Copy link
Member

Choose a reason for hiding this comment

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

Gotcha, thanks.

@MikeMcQuaid
Copy link
Member

Thanks for your contribution to Homebrew! Without people like you submitting PRs we couldn't run this project. You rock!

For future reference the preferred commit message format is dub 1.1.1 (no v). Thanks!

@John-Colvin John-Colvin deleted the patch-23 branch July 18, 2017 11:50
@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants