-
Notifications
You must be signed in to change notification settings - Fork 0
/
fork-sweeper.rb
47 lines (40 loc) · 1.43 KB
/
fork-sweeper.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class ForkSweeper < Formula
desc "Remove unused GitHub forks"
homepage "https://github.com/rednafi/fork-sweeper"
version "0.2.0"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/rednafi/fork-sweeper/releases/download/v0.2.0/fork-sweeper_Darwin_arm64.tar.gz"
sha256 "601eb38f8cf92a4f0c1d67fff23b50af8537431cba400896dd5b25ca62eae0db"
def install
bin.install "fork-sweeper"
end
end
if Hardware::CPU.intel?
url "https://github.com/rednafi/fork-sweeper/releases/download/v0.2.0/fork-sweeper_Darwin_x86_64.tar.gz"
sha256 "275cc064ed2abfdde1aac115c73bc1875245a977cc47827296a293b2248549a6"
def install
bin.install "fork-sweeper"
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/rednafi/fork-sweeper/releases/download/v0.2.0/fork-sweeper_Linux_x86_64.tar.gz"
sha256 "b1bf436b7797c97f88e8aaf300ef895934cc0d960037b7bd1d3221c76fcf9313"
def install
bin.install "fork-sweeper"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/rednafi/fork-sweeper/releases/download/v0.2.0/fork-sweeper_Linux_arm64.tar.gz"
sha256 "6f250e778a56904c81d85a61680ef464636e49b9262435665463db71cd74eb82"
def install
bin.install "fork-sweeper"
end
end
end
end