-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
migrate 3.0.1 (new formula) #13804
migrate 3.0.1 (new formula) #13804
Conversation
Hm, the test failed on fetch from a GitHub release, which is public. Maybe a rate limit issue? |
@@ -0,0 1,16 @@ | |||
class Migrate < Formula | |||
desc "Database migrations. CLI and Golang library." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One sentence only, not final period
end | ||
|
||
test do | ||
system "#{bin}/migrate", "-version" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We would also need a test that does more that output version number
sha256 "17e19678e930d4a48114937fb07300c107088d86a80c798630fabc08d32ee4ee" | ||
|
||
def install | ||
mv "migrate.darwin-amd64", "migrate" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our policy is that formulae in the core tap (homebrew/core) must be open-source and either built from source or produce cross-platform binaries (e.g. Java). Binary-only formulae should go to Homebrew Cask.
Thanks, I understand the comments. Unfortunately I didn't manage to get all the dependencies and build the binary locally. I will reopen this ticket if I find a way to fix it. |
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?This PR adds Formula for https://github.com/mattes/migrate
Closes mattes/migrate#156