Goreleaser: Homebrew: Support for test?

Created on 14 Jul 2017  Â·  4Comments  Â·  Source: goreleaser/goreleaser

First: Thanks for this great tool! Especially the generation of homebrew formulas is awesome!

I was wondering though if there is currently a way to modify the formular output. We used to have a test do … end block (see e.g. https://github.com/stormforger/homebrew-forge/commit/d7edc7bc81678f5735a0984588511c709023ccbd):

test do
  system "#{bin}/forge version"
end

This enables us to use travis and run brew test $FORMULAR (see https://github.com/stormforger/homebrew-forge/blob/master/.travis.yml).

enhancement

Most helpful comment

Awesome! Thanks! <3

All 4 comments

There is no way of doing it right now, but it is totally doable!

You can open a PR if you want :) If not, I'll do it when I have some free time.

I'm quite new to golang, but I'm happy to give it a shot :)

Awesome! Thanks! <3

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jonfriesen picture jonfriesen  Â·  4Comments

radeksimko picture radeksimko  Â·  4Comments

tj picture tj  Â·  5Comments

zet4 picture zet4  Â·  4Comments

caarlos0 picture caarlos0  Â·  3Comments