forked from Homebrew/homebrew-core
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
angle-grinder: update Cargo.lock file
See Homebrew#68301.
- Loading branch information
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
class AngleGrinder < Formula | ||
desc "Slice and dice log files on the command-line" | ||
homepage "https://github.com/rcoh/angle-grinder" | ||
# Remove "Cargo.lock" resource at version bump! | ||
url "https://github.com/rcoh/angle-grinder/archive/v0.15.0.tar.gz" | ||
sha256 "5359d6e241eca2bc3bdb7ddf9344b4ef8315cbe7629775c09e0ab7ed70310c8d" | ||
license "MIT" | ||
revision 1 | ||
|
||
bottle do | ||
cellar :any_skip_relocation | ||
|
@@ -20,7 +22,15 @@ class AngleGrinder < Formula | |
depends_on "[email protected]" | ||
end | ||
|
||
# Replace stale lock file. Remove at version bump. | ||
resource "Cargo.lock" do | ||
url "https://raw.githubusercontent.com/rcoh/angle-grinder/6c5cf552dec605aac75c3da04e8618518b63abf2/Cargo.lock" | ||
sha256 "a52f0e1d81eb77bdb10f9fa6b4bc5a2f4551045794570ac5d766de9085da4a54" | ||
end | ||
|
||
def install | ||
rm_f "Cargo.lock" | ||
resource("Cargo.lock").stage buildpath | ||
system "cargo", "install", *std_cargo_args | ||
end | ||
|
||
|