homebrew-core/Formula/liquibase.rb
ilovezfs 936c02dfa7 liquibase 3.5.2
Closes #5100.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-09-22 04:35:03 -07:00

26 lines
677 B
Ruby

class Liquibase < Formula
desc "Library for database change tracking"
homepage "http://liquibase.org"
url "https://github.com/liquibase/liquibase/releases/download/liquibase-parent-3.5.2/liquibase-3.5.2-bin.tar.gz"
sha256 "15b0284e29a2661440d1c577478ec18eda2bafd3f90c583ce0a200ec3971beba"
bottle :unneeded
def install
rm_f Dir["*.bat"]
chmod 0755, "liquibase"
prefix.install_metafiles
libexec.install Dir["*"]
bin.install_symlink libexec/"liquibase"
end
def caveats; <<-EOS.undent
You should set the environment variable LIQUIBASE_HOME to
#{libexec}
EOS
end
test do
system "#{bin}/liquibase", "--version"
end
end