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.0.7/flyway-commandline-5.0.7.tar.gz" sha256 "5b9bf9fcc6d361b1160c90c59a669126687961ef3effe8eae562cdd2ceffb6fe" 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