You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
601 B

cask 'exist-db-nightly' do
version :latest
sha256 :no_check
# static.adamretter.org.uk/exist-nightly was verified as official when first introduced to the cask
url do
require 'open-uri'
base_url = 'http://static.adamretter.org.uk/exist-nightly'
builds_url = "#{base_url}/table.html"
latest_build_filename = open(builds_url) do |io|
io.read.scan(%r{<tr>.*?<td>(.*?)</td>.*?<a href="([^\"]+)">dmg}m).max[1]
end
"#{base_url}/#{latest_build_filename}"
end
name 'eXist-db'
homepage 'http://exist-db.org/exist/apps/homepage/index.html'
app 'eXist-db.app'
end