This repository has been archived by the owner on May 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Brew formula update for tenv version v1.0.4
- Loading branch information
1 parent
41f6a4f
commit 77cefa0
Showing
1 changed file
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
# This file was generated by GoReleaser. DO NOT EDIT. | ||
class Tenv < Formula | ||
desc "OpenTofu and Terraform version manager (inspired by tofuenv, written in Go)" | ||
homepage "https://github.com/tofuutils/tenv" | ||
version "1.0.4" | ||
license "Apache-2.0" | ||
|
||
on_macos do | ||
if Hardware::CPU.arm? | ||
url "https://github.com/tofuutils/tenv/releases/download/v1.0.4/tenv_1.0.4_darwin_arm64.zip" | ||
sha256 "47bfbd7429c9a4063811d9d3c4dd9d68fafe970b12a08111bf5af12158519e15" | ||
|
||
def install | ||
bin.install "tenv" | ||
bin.install "terraform" | ||
bin.install "tofu" | ||
end | ||
end | ||
if Hardware::CPU.intel? | ||
url "https://github.com/tofuutils/tenv/releases/download/v1.0.4/tenv_1.0.4_darwin_amd64.zip" | ||
sha256 "a528b8d5516a8aa56070eaa111ed0882eeb18eb59445b4711f2683963a6f7b05" | ||
|
||
def install | ||
bin.install "tenv" | ||
bin.install "terraform" | ||
bin.install "tofu" | ||
end | ||
end | ||
end | ||
|
||
on_linux do | ||
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit? | ||
url "https://github.com/tofuutils/tenv/releases/download/v1.0.4/tenv_1.0.4_linux_arm64.zip" | ||
sha256 "1ab98699db5a613f4ddfdbb5f96a9974fe0fe65222bb0152c741f5cb092602d6" | ||
|
||
def install | ||
bin.install "tenv" | ||
bin.install "terraform" | ||
bin.install "tofu" | ||
end | ||
end | ||
if Hardware::CPU.arm? && !Hardware::CPU.is_64_bit? | ||
url "https://github.com/tofuutils/tenv/releases/download/v1.0.4/tenv_1.0.4_linux_arm.zip" | ||
sha256 "3a7a9d9996c24effe5dcb412fbbd1b959bcac84f6567991420cd42e3d16032a7" | ||
|
||
def install | ||
bin.install "tenv" | ||
bin.install "terraform" | ||
bin.install "tofu" | ||
end | ||
end | ||
if Hardware::CPU.intel? | ||
url "https://github.com/tofuutils/tenv/releases/download/v1.0.4/tenv_1.0.4_linux_amd64.zip" | ||
sha256 "f22fafdb7f2aac7450eb68115bd3ca14aa1df091a25107be7c9fac585e769640" | ||
|
||
def install | ||
bin.install "tenv" | ||
bin.install "terraform" | ||
bin.install "tofu" | ||
end | ||
end | ||
end | ||
end |