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.1.1/flyway-commandline-5.1.1.tar.gz" sha256 "ee2ca6771473d790cf1bbc370de1747d205671d443279b450333529e4b3db14d" 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