homebrew-core/Formula/flyway.rb
Thierry Moisan d3b4943dbd flyway 5.2.3
Closes #34696.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
2018-12-02 09:24:53 +01:00

20 lines
564 B
Ruby

class Flyway < Formula
desc "Database version control to control migrations"
homepage "https://flywaydb.org/"
url "https://search.maven.org/remotecontent?filepath=org/flywaydb/flyway-commandline/5.2.3/flyway-commandline-5.2.3.tar.gz"
sha256 "be553d0a38060712eb43c0f5e999f9af8501c5e6070053fb680391078870b467"
bottle :unneeded
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