moco: add livecheck
parent
0fda8a705f
commit
b82b2becf7
|
@ -5,6 +5,11 @@ class Moco < Formula
|
||||||
sha256 "cf970d4a74b834e8fc0df2059368c2d153924bb37c34f6a8cef5b8d886e71463"
|
sha256 "cf970d4a74b834e8fc0df2059368c2d153924bb37c34f6a8cef5b8d886e71463"
|
||||||
license "MIT"
|
license "MIT"
|
||||||
|
|
||||||
|
livecheck do
|
||||||
|
url "https://search.maven.org/remotecontent?filepath=com/github/dreamhead/moco-runner/"
|
||||||
|
regex(%r{href=.*?v?(\d+(?:\.\d+)+)/?["' >]}i)
|
||||||
|
end
|
||||||
|
|
||||||
bottle :unneeded
|
bottle :unneeded
|
||||||
|
|
||||||
depends_on "openjdk"
|
depends_on "openjdk"
|
||||||
|
|
Loading…
Reference in New Issue