89f238d27c
From the Liquibase website: Liquibase is an open source (Apache 2.0 Licensed), database-independent library for tracking, managing and applying database changes. It is built on a simple premise: All database changes are stored in a human readable yet trackable form and checked into source control. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
26 lines
502 B
Ruby
26 lines
502 B
Ruby
require 'formula'
|
|
|
|
class Liquibase < Formula
|
|
url 'http://liquibase.org/liquibase-2.0.1-bin.tar.gz'
|
|
homepage 'http://liquibase.org'
|
|
md5 '5dcceb7b3b5d39c4c39479fce6da2270'
|
|
|
|
def install
|
|
rm_f Dir['*.bat']
|
|
|
|
chmod 0755, Dir['liquibase']
|
|
|
|
prefix.install "LICENSE.txt"
|
|
libexec.install Dir['*']
|
|
|
|
bin.mkpath
|
|
ln_s libexec+('liquibase'), bin
|
|
end
|
|
|
|
def caveats
|
|
<<-EOS.undent
|
|
You should set the environment variable LIQUIBASE_HOME to
|
|
#{libexec}
|
|
EOS
|
|
end
|
|
end
|