mirror of
https://github.com/jimeh/homebrew-emacs-builds.git
synced 2026-02-19 02:56:40 +00:00
chore(cask): minor tweak to emacs-app-nightly cask
This commit is contained in:
@@ -7,14 +7,14 @@ cask 'emacs-app-nightly' do
|
||||
url 'https://github.com/jimeh/emacs-builds/releases/download/Emacs.2021-06-27.9060fbd.master/Emacs.2021-06-27.9060fbd.master.macOS-10-15.x86_64.dmg'
|
||||
|
||||
name 'Emacs'
|
||||
desc 'GNU Emacs text editor'
|
||||
desc 'GNU Emacs text editor (nightly build)'
|
||||
homepage 'https://github.com/jimeh/emacs-builds'
|
||||
|
||||
livecheck do
|
||||
url 'https://github.com/jimeh/emacs-builds.git'
|
||||
strategy :git do |tags|
|
||||
tags.map do |tag|
|
||||
tag.gsub(/^Emacs.(\d{4}-\d{2}-\d{2}\.\w+\.master)$/i, '\\1')
|
||||
tag.gsub(/^Emacs\.(\d{4}-\d{2}-\d{2}\.\w+\.master)$/i, '\\1')
|
||||
end.compact
|
||||
end
|
||||
end
|
||||
|
||||
@@ -7,14 +7,14 @@ cask 'emacs-app-nightly' do
|
||||
url '{{ .DownloadURL "macOS-10-15.x86_64" }}'
|
||||
|
||||
name 'Emacs'
|
||||
desc 'GNU Emacs text editor'
|
||||
desc 'GNU Emacs text editor (nightly build)'
|
||||
homepage 'https://github.com/jimeh/emacs-builds'
|
||||
|
||||
livecheck do
|
||||
url 'https://github.com/jimeh/emacs-builds.git'
|
||||
strategy :git do |tags|
|
||||
tags.map do |tag|
|
||||
tag.gsub(/^Emacs.(\d{4}-\d{2}-\d{2}\.\w+\.master)$/i, '\\1')
|
||||
tag.gsub(/^Emacs\.(\d{4}-\d{2}-\d{2}\.\w+\.master)$/i, '\\1')
|
||||
end.compact
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user