Skip to content

Commit 8c4fb20

Browse files
committed
Merge branch 'master' of github.com:beatlabs/gomodctl
2 parents 8cc3a63 + 6ea7df1 commit 8c4fb20

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

Formula/gomodctl.rb

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# This file was generated by GoReleaser. DO NOT EDIT.
2+
class Gomodctl < Formula
3+
desc "search,check and update go modules"
4+
homepage "https://github.com/beatlabs/gomodctl"
5+
version "0.0.5"
6+
bottle :unneeded
7+
8+
if OS.mac?
9+
url "https://github.com/beatlabs/gomodctl/releases/download/v0.0.5/gomodctl_Darwin_x86_64.tar.gz"
10+
sha256 "c3530ff78f1f033b334c67ac321ed5377f9dba6bc25b0ded13b8b2eefdf91c92"
11+
elsif OS.linux?
12+
if Hardware::CPU.intel?
13+
url "https://github.com/beatlabs/gomodctl/releases/download/v0.0.5/gomodctl_Linux_x86_64.tar.gz"
14+
sha256 "99b9e14bf4f3fca047c3226edf0936de52a92fcc6b945cf1091e7ebaa54f7e37"
15+
end
16+
end
17+
18+
def install
19+
bin.install "gomodctl"
20+
end
21+
22+
test do
23+
system "#{bin/gomodctl info gomock}"
24+
end
25+
end

internal/README.md

Whitespace-only changes.

0 commit comments

Comments
 (0)