Skip to content

Commit 72a7341

Browse files
committed
Brew formula update for cce version v0.0.3
1 parent 51dab74 commit 72a7341

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

cce.rb

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# typed: false
2+
# frozen_string_literal: true
3+
4+
# This file was generated by GoReleaser. DO NOT EDIT.
5+
class Cce < Formula
6+
desc "Extract cloud SDK usage from source code with tree-sitter"
7+
homepage "https://github.com/appcd-dev/cce"
8+
version "0.0.3"
9+
license "Apache License 2.0"
10+
11+
on_macos do
12+
if Hardware::CPU.intel?
13+
url "https://releases.stackgen.com/binaries/cce/v0.0.3/cce_0.0.3_darwin_amd64.tar.gz"
14+
sha256 "9f5343b119080f394ea07096d858245d3df2bb30c18c1a4f788385286f8b3632"
15+
16+
define_method(:install) do
17+
bin.install "cce"
18+
end
19+
end
20+
if Hardware::CPU.arm?
21+
url "https://releases.stackgen.com/binaries/cce/v0.0.3/cce_0.0.3_darwin_arm64.tar.gz"
22+
sha256 "6df33efef7a44c8db230d8005f27fd486d3eca40c22af717ad78e54684700447"
23+
24+
define_method(:install) do
25+
bin.install "cce"
26+
end
27+
end
28+
end
29+
30+
on_linux do
31+
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
32+
url "https://releases.stackgen.com/binaries/cce/v0.0.3/cce_0.0.3_linux_amd64.tar.gz"
33+
sha256 "cfdcabf736453e948c3a9d07a6631b36afabe606a898d43a5e22065f09b1b7ae"
34+
define_method(:install) do
35+
bin.install "cce"
36+
end
37+
end
38+
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
39+
url "https://releases.stackgen.com/binaries/cce/v0.0.3/cce_0.0.3_linux_arm64.tar.gz"
40+
sha256 "f6676513388eece2d5b788e0a92e2c74070201f7b359d014fc786e3f5f79d507"
41+
define_method(:install) do
42+
bin.install "cce"
43+
end
44+
end
45+
end
46+
end

0 commit comments

Comments
 (0)