Skip to content

Commit

Permalink
Updating [email protected] formula for version 1.0.0-rc.5
Browse files Browse the repository at this point in the history
skip-checks: true
  • Loading branch information
[email protected] authored and [email protected] committed Feb 11, 2021
1 parent 158be57 commit df536e3
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# ------------------------------------------------------------
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------------------------------

class DaprCliAT100Rc5 < Formula
desc "Client for Dapr."
homepage "https://dapr.io"
version '1.0.0-rc.5'
url "https://github.com/dapr/cli/archive/v1.0.0-rc.5.tar.gz"
sha256 "8b0bb2a0a9c49b720563c28b477803ff06547d6d3dd105d5c5801ad1377207e8"

depends_on "go" => :build

bottle do
root_url "https://github.com/dapr/homebrew-tap/releases/download/v1.0.0-rc.5"
cellar :any_skip_relocation
sha256 "8d7b70d4335ed6718ec6156219f7fba1e366a6abc99ecf62860b9e5a37c60a03" => :catalina
end

def install
system "go", "build", "-ldflags", "-X main.version=#{version} -X main.apiVersion=1.0", "-o", "./cli"
bin.install "cli" => "dapr"
end

test do
system "#{bin}/dapr", "--version"
end
end

0 comments on commit df536e3

Please sign in to comment.