7be84c468f
Upgraded Liquibase formula to latest version 3.3.5. Also fixed broken download link as Liquibase switched binary hosting from Sourceforge to Github due to security concerns: http://blog.liquibase.org/2015/06/liquibase-downloads-moved-off-sourceforge.html Closes Homebrew/homebrew#40854. Signed-off-by: Xu Cheng <xucheng@me.com>
25 lines
638 B
Ruby
25 lines
638 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.3.5/liquibase-3.3.5-bin.tar.gz"
|
|
sha1 "94ae9bf3de3dcfa41c2951d2b7d21495af740f3c"
|
|
|
|
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
|