Browse Source

Update emacs-nightly to latest (#4598)

* Update emacs-nightly to latest

* style
master
commitay 7 years ago
committed by Vítor Galvão
parent
commit
a5985e370d
  1. 13
      Casks/emacs-nightly.rb

13
Casks/emacs-nightly.rb

@ -1,10 +1,13 @@
cask 'emacs-nightly' do
version '2017-06-11_01-41-11-517a0394d2ba15b517e2a2b7384a7cc98b11b80d'
sha256 '37819d941188f8ee76adf9f228a6bfde5eee0c4dfd7a1799e3ff9dd4b10dfb8c'
version :latest
sha256 :no_check
url "https://emacsformacosx.com/emacs-builds/Emacs-#{version}-universal.dmg"
appcast 'https://emacsformacosx.com/atom/daily',
checkpoint: 'd29661d8fa407320834e735f781ac37ac1778728da64473291eae3fad985c909'
url do
require 'open-uri'
base_url = 'https://emacsformacosx.com/atom/daily'
file = open(base_url).read.scan(%r{href="([^"]+.dmg)"}).flatten.first
file.to_s
end
name 'Emacs'
homepage 'https://emacsformacosx.com/'

Loading…
Cancel
Save