Skip to content

Commit

Permalink
Added livecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Kozma committed Jun 1, 2022
1 parent c853e46 commit 589700c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Formula/c2patool.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ class C2patool < Formula
sha256 "08501b0a3899343bae280c2e2a0e663cf79649dd245e96d18158009552a84438"
license any_of: ["Apache-2.0", "MIT"]

livecheck do
url :stable
strategy :github_latest
end

depends_on "openssl@3" => :build
depends_on "rust" => :build

Expand All @@ -20,6 +25,7 @@ def install
end

test do
# manifest read test
resource("CA").stage do
assert_match "contentauth:urn:uuid:c05a8614-cf57-4fc5-8588-09562d77765b", shell_output("#{bin}/c2patool CA.jpg").strip
end
Expand Down

0 comments on commit 589700c

Please sign in to comment.