Skip to content

Commit 9cac9c4

Browse files
committed
Brew formula update for polylint version v0.0.1-rc2
1 parent 92cdd54 commit 9cac9c4

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

.config/brew/Formula/polylint.rb

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# typed: false
2+
# frozen_string_literal: true
3+
4+
# This file was generated by GoReleaser. DO NOT EDIT.
5+
class Polylint < Formula
6+
desc "Polylint: Extensible generic linter"
7+
homepage "https://github.com/zph/polylint"
8+
version "0.0.1-rc2"
9+
license "MIT"
10+
11+
on_macos do
12+
if Hardware::CPU.intel?
13+
url "https://github.com/zph/polylint/releases/download/v0.0.1-rc2/polylint_Darwin_x86_64.tar.gz"
14+
sha256 "a4bb1cc205663aace836eee5ad1c114643cf50a59eddfcec68122bfd4befa3a4"
15+
16+
def install
17+
bin.install "polylint"
18+
end
19+
end
20+
if Hardware::CPU.arm?
21+
url "https://github.com/zph/polylint/releases/download/v0.0.1-rc2/polylint_Darwin_arm64.tar.gz"
22+
sha256 "570a22b0120e0773dce22f89d3adb453e7f4f65d27ff5a2c63c9eabaf9dbb84e"
23+
24+
def install
25+
bin.install "polylint"
26+
end
27+
end
28+
end
29+
30+
on_linux do
31+
if Hardware::CPU.intel?
32+
url "https://github.com/zph/polylint/releases/download/v0.0.1-rc2/polylint_Linux_x86_64.tar.gz"
33+
sha256 "1610a10f55ace7d8b41a71fdf4a8c93a661deb753d7c3333662cc3f7d00aecc8"
34+
35+
def install
36+
bin.install "polylint"
37+
end
38+
end
39+
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
40+
url "https://github.com/zph/polylint/releases/download/v0.0.1-rc2/polylint_Linux_arm64.tar.gz"
41+
sha256 "1d8457f0479f6e74d7b6e5e1c5ce185206babeb09a704dd2bd8eae17b900f2f5"
42+
43+
def install
44+
bin.install "polylint"
45+
end
46+
end
47+
end
48+
49+
head "https://github.com/zph/polylint.git"
50+
51+
test do
52+
system "#{bin}/polylint --version"
53+
end
54+
end

0 commit comments

Comments
 (0)