cf6e612766
BaseX 8.0 update For added features see the official [announcement](http://basex.org/about-us/news/newsdetails/basex-80-the-xmlprague-2015-edition). Closes Homebrew/homebrew#36666. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
22 lines
504 B
Ruby
22 lines
504 B
Ruby
require 'formula'
|
|
|
|
class Basex < Formula
|
|
homepage 'http://basex.org'
|
|
url 'http://files.basex.org/releases/8.0/BaseX80.zip'
|
|
version '8.0'
|
|
sha1 'cb5eef33f44ad92b136e344766207acf863e98fa'
|
|
|
|
def install
|
|
rm Dir['bin/*.bat']
|
|
rm_rf "repo"
|
|
rm_rf "data"
|
|
rm_rf "etc"
|
|
prefix.install_metafiles
|
|
libexec.install Dir['*']
|
|
bin.install_symlink Dir["#{libexec}/bin/*"]
|
|
end
|
|
|
|
test do
|
|
assert_equal "1\n2\n3\n4\n5\n6\n7\n8\n9\n10", shell_output("#{bin}/basex '1 to 10'")
|
|
end
|
|
end
|