homebrew-core/Formula/liquibase.rb
Angelo Sarto 0fce95f7ac
liquibase 3.6.3
Closes #37158.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2019-02-22 12:09:10 +08:00

27 lines
751 B
Ruby

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