Skip to content

Commit

Permalink
Merge pull request #178312 from Homebrew/wordnet-add-livecheck
Browse files Browse the repository at this point in the history
wordnet: add livecheck
  • Loading branch information
chenrui333 authored Jul 24, 2024
2 parents 24bc178 + e2e791e commit 20cf108
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Formula/w/wordnet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ class Wordnet < Formula
license :cannot_represent
revision 1

# This matches WordNet tarball versions as well as database file versions,
# as these may differ.
livecheck do
url "https://wordnet.princeton.edu/download/current-version"
regex(/href=.*?(?:WordNet|wn)[._-]?v?(\d+(?:\.\d+)+)(?:[._-]dict)?\.t/i)
end

bottle do
sha256 arm64_sonoma: "b950541da50b255f77a15f09e713f22472820da7e131c577a4b3f377fc2b44fe"
sha256 arm64_ventura: "57a8ed88c01550f3fc44dd887ddd4ae3c9bbad47ea82c2793bfe167506aacfb6"
Expand Down

0 comments on commit 20cf108

Please sign in to comment.