blob: e6ec74f8b435019fcee8d3f65e66b4d3bae86ced (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  | 
require 'formula'
class Liquibase < Formula
  homepage 'http://liquibase.org'
  url 'https://github.com/downloads/liquibase/liquibase/liquibase-2.0.5-bin.tar.gz'
  sha1 'eb237c4b9b8c85aff5ddac6272f6291ae593c7a4'
  def install
    rm_f Dir['*.bat']
    chmod 0755, Dir['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
end
  |