Skip to content

Commit

Permalink
feat: add livecheck to whiskers and catwalk
Browse files Browse the repository at this point in the history
  • Loading branch information
backwardspy committed Jun 2, 2024
1 parent 4c80c1a commit 54162a3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Formula/catwalk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@ def install
test do
assert_predicate (bin/"catwalk"), :exist?
end

livecheck do
url :stable
regex /^catwalk[._-]v?(\d+(?:\.\d+)+)$/i
end
end
5 changes: 5 additions & 0 deletions Formula/whiskers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,9 @@ def install
test do
assert_predicate (bin/"whiskers"), :exist?
end

livecheck do
url :stable
regex /^whiskers[._-]v?(\d+(?:\.\d+)+)$/i
end
end

0 comments on commit 54162a3

Please sign in to comment.