flyway 3.2.1 (new formula)
Closes Homebrew/homebrew#38391. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
3d1a1f83b9
commit
3008ca013a
1 changed files with 17 additions and 0 deletions
17
Formula/flyway.rb
Normal file
17
Formula/flyway.rb
Normal file
|
@ -0,0 +1,17 @@
|
|||
class Flyway < Formula
|
||||
homepage "http://flywaydb.org/"
|
||||
url "http://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/3.2.1/flyway-commandline-3.2.1.tar.gz"
|
||||
sha256 "da942c3b96d89ca221617a720c1945d16dadf142313380a71a825e62821d0a2b"
|
||||
|
||||
depends_on :java
|
||||
|
||||
def install
|
||||
rm Dir["*.cmd"]
|
||||
libexec.install Dir["*"]
|
||||
bin.install_symlink Dir["#{libexec}/flyway"]
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/flyway", "-url=jdbc:h2:mem:flywaydb", "validate"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue