File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments