homebrew-core/Formula/liquibase.rb
Ricardo Gladwell 7be84c468f liquibase 3.3.5
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>
2015-06-18 20:32:26 +08:00

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