-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
class Terraform < Formula | ||
desc "Automate infrastructure on any cloud with Terraform" | ||
Check failure on line 2 in Formula/terraform.rb GitHub Actions / test-bot (macos-14)
|
||
homepage "https://www.terraform.io/" | ||
Check failure on line 3 in Formula/terraform.rb GitHub Actions / test-bot (macos-14)
|
||
url "https://github.com/hashicorp/terraform.git", | ||
Check failure on line 4 in Formula/terraform.rb GitHub Actions / test-bot (macos-14)
|
||
tag: "v1.9.5", | ||
Check failure on line 5 in Formula/terraform.rb GitHub Actions / test-bot (macos-14)
|
||
revision: "2770cb376c53a9ef6ea63482d7eaf83c0bfe887e" | ||
license "Business Source License 1.1" | ||
Check failure on line 7 in Formula/terraform.rb GitHub Actions / test-bot (macos-14)
|
||
|
||
depends_on "go" => :build | ||
Check failure on line 9 in Formula/terraform.rb GitHub Actions / test-bot (macos-14)
|
||
|
||
def install | ||
Check failure on line 11 in Formula/terraform.rb GitHub Actions / test-bot (macos-14)
|
||
ENV["CGO_ENABLED"] = "0" | ||
Check failure on line 12 in Formula/terraform.rb GitHub Actions / test-bot (macos-14)
|
||
ENV["GOPATH"] = buildpath | ||
system "go", "build", *std_go_args, "-ldflags", "-s -w -X main.version=#{version}", "-o", bin/"terraform", "." | ||
end | ||
end | ||
Check failure on line 16 in Formula/terraform.rb GitHub Actions / test-bot (macos-14)
|