Skip to content

Commit dc6dba0

Browse files
Updating [email protected] formula for version 1.15.0-rc.5
skip-checks: true
1 parent 7f45889 commit dc6dba0

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

[email protected]

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# ------------------------------------------------------------
2+
# Copyright 2025 The Dapr Authors
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS,
9+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
# See the License for the specific language governing permissions and
11+
# limitations under the License.
12+
# ------------------------------------------------------------
13+
14+
class DaprCliAT1150Rc5 < Formula
15+
desc "Client for Dapr."
16+
homepage "https://dapr.io"
17+
version '1.15.0-rc.5'
18+
url "https://github.com/dapr/cli/archive/v1.15.0-rc.5.tar.gz"
19+
sha256 "42327d877aa9be5d28268ec5f2d1b2cd82e89f70876d94acdb2d7f2bedb00350"
20+
21+
depends_on "go" => :build
22+
depends_on "make" => :build
23+
24+
bottle do
25+
root_url "https://github.com/dapr/homebrew-tap/releases/download/v1.15.0-rc.5"
26+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "27f4eee0ef9d5c53a4a7fb8511e5ddc013b292856d15870ed8fe6090f04f6782"
27+
end
28+
29+
def install
30+
with_env(
31+
"GOPROXY" => ENV["HOMEBREW_GOPROXY"] ? ENV["HOMEBREW_GOPROXY"] : ENV["GOPROXY"],
32+
) do
33+
system "make", "REL_VERSION=#{version}"
34+
end
35+
bin.install Dir["dist/*/release/dapr"].first => "dapr"
36+
end
37+
38+
test do
39+
system "#{bin}/dapr", "--version"
40+
end
41+
end
42+

0 commit comments

Comments
 (0)