homebrew-core/Formula/liquibase.rb
Igor Kapkov 3208917c5f liquibase 3.7.0
Closes #42056.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
2019-07-17 09:34:05 +02: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.7.0/liquibase-3.7.0-bin.tar.gz"
sha256 "2e22a54f14d3b3036bfca5baee381e2cbffd6b90b7ba397e8c2761d9f2493f1e"
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