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/4.2.0/flyway-commandline-4.2.0.tar.gz" sha256 "c198497cdbad6eaec052cf7db1999c7899998e4d0c980bcad757998e8139b2bb" 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