-
Notifications
You must be signed in to change notification settings - Fork 34
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
Allow for multiple download locations for different operating systems #5
Comments
@moritzheiber Yes that would be a great feature! It's just that, without a proper ruby parser, it would be really hard to parse out the |
@mislav I want this feature too, but... Why should we need a parser in this case? class Foo < Formula
[ .. ]
# BEGIN VERSION
version "v0.1.0-alpha.1"
# END VERSION
[ .. ]
end ... and I think we might be able to write a script which generates # BEGIN URL.MAC
url "https://some.url/v0.0.1/binary-macos"
# END URL.MAC ... and you'll be fine. Of course, the thing doesn’t have to be this complicated, but it seems practical for more complex scripts. Also, we can choose to mix up the automatic way and the manual way, for example being able to annotate the PS: My finals are approaching and I don't have enough time to do a proof of concept. However, I'd like to try when the vacations begin. |
@moritzheiber @mislav Oh no, I just thought too much: why can't we add support for template files? |
@rami3l Here be dragons! 🐉 🔥 |
Linuxbrew is a thing:tm: thus some Homebrew formula are doing stuff like this:
It would be cool to be able to support this formula with this action 🙂
The text was updated successfully, but these errors were encountered: