Add apgdiff 1.4
apgdiff is a PostgreSQL schema diff tool.
This commit is contained in:
parent
15cc068a95
commit
4697bba2c2
1 changed files with 19 additions and 0 deletions
19
Formula/apgdiff.rb
Normal file
19
Formula/apgdiff.rb
Normal file
|
@ -0,0 +1,19 @@
|
|||
require 'formula'
|
||||
|
||||
class Apgdiff <Formula
|
||||
url 'http://downloads.sourceforge.net/project/apgdiff/apgdiff/apgdiff-1.4/apgdiff-1.4-bin.zip'
|
||||
homepage 'http://apgdiff.sourceforge.net/'
|
||||
md5 '6ef287d02b4429d2111140f7fb2d8c29'
|
||||
|
||||
def startup_script
|
||||
<<-EOS
|
||||
#!/bin/bash
|
||||
java -jar "#{libexec}/apgdiff-1.4.jar" "$@"
|
||||
EOS
|
||||
end
|
||||
|
||||
def install
|
||||
libexec.install "apgdiff-1.4.jar"
|
||||
(bin+'apgdiff').write startup_script
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue