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.0.3/flyway-commandline-4.0.3.tar.gz" sha256 "61bb9ae98e484209d924d46670059a2460a66768c619bd4802e565256b99dafb" 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