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/6.0.8/flyway-commandline-6.0.8.tar.gz" sha256 "636d5ab5a3b226cad38b2e0bb56c0063b74a6f029ff887158948cbf962e46a2d" 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