Skip to content

Commit

Permalink
font-coelacanth: add strategy block for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
samford committed May 17, 2024
1 parent de5bc55 commit b0aef53
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Casks/font/font-c/font-coelacanth.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
livecheck do
url "https://github.com/Fuzzypeg/Coelacanth/tree/master/release"
regex(/href=.*?coelacanth[._-]v?(\d+(?:\.\d+)+)\.zip/i)
strategy :page_match
strategy :page_match do |page, regex|
pp page
page.scan(regex).map { |match| match[0] }
end
end

font "Coelacanth.otf"
Expand Down

0 comments on commit b0aef53

Please sign in to comment.