Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions Casks/t/terramate-catalyst.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
cask "terramate-catalyst" do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this an alternative version of the standard terramate, then the token should probably be terramate@catalyst. Although this can be discussed as it looks like terramate is a formula.

version "0.15.2-beta11"

on_arm do
sha256 "d84706a9569d2bc3b9136498e9bbb31c2f9bd015e5a1dec8648f5f4401c4ba10"

url "https://github.com/terramate-io/terramate-catalyst/releases/download/v#{version}/terramate-catalyst_#{version}_darwin_arm64.tar.gz"

Check failure on line 7 in Casks/t/terramate-catalyst.rb

View workflow job for this annotation

GitHub Actions / test terramate-catalyst (macos-14, arm)

GitHub repository not notable enough (<30 forks, <30 watchers and <75 stars)

Check failure on line 7 in Casks/t/terramate-catalyst.rb

View workflow job for this annotation

GitHub Actions / test terramate-catalyst (macos-14, arm)

v0.15.2-beta11 is a GitHub pre-release.

Check failure on line 7 in Casks/t/terramate-catalyst.rb

View workflow job for this annotation

GitHub Actions / test terramate-catalyst (macos-26, arm)

v0.15.2-beta11 is a GitHub pre-release.
end
on_intel do
sha256 "b2c264e9c939b3664a24ce9103b9280dcfc88e77b8e473a782c4877aead2eb68"

url "https://github.com/terramate-io/terramate-catalyst/releases/download/v#{version}/terramate-catalyst_#{version}_darwin_x86_64.tar.gz"

Check failure on line 12 in Casks/t/terramate-catalyst.rb

View workflow job for this annotation

GitHub Actions / test terramate-catalyst (macos-14, intel)

GitHub repository not notable enough (<30 forks, <30 watchers and <75 stars)

Check failure on line 12 in Casks/t/terramate-catalyst.rb

View workflow job for this annotation

GitHub Actions / test terramate-catalyst (macos-14, intel)

v0.15.2-beta11 is a GitHub pre-release.

Check failure on line 12 in Casks/t/terramate-catalyst.rb

View workflow job for this annotation

GitHub Actions / test terramate-catalyst (macos-15-intel, intel)

GitHub repository not notable enough (<30 forks, <30 watchers and <75 stars)

Check failure on line 12 in Casks/t/terramate-catalyst.rb

View workflow job for this annotation

GitHub Actions / test terramate-catalyst (macos-15-intel, intel)

v0.15.2-beta11 is a GitHub pre-release.

Check failure on line 12 in Casks/t/terramate-catalyst.rb

View workflow job for this annotation

GitHub Actions / test terramate-catalyst (macos-26, intel)

v0.15.2-beta11 is a GitHub pre-release.
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please interpolate the arch-specific url strings using the arch dsl.
Here's an example you can use;
https://github.com/Homebrew/homebrew-cask/blob/main/Casks/1/1password.rb#L2


name "terramate-catalyst"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
name "terramate-catalyst"
name "Terramate Catalyst"

desc "Catalyst is a special distribution of Terramate CLI"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description should describe what the cli does.

homepage "https://github.com/terramate-io/terramate-catalyst"

livecheck do
url "https://github.com/terramate-io/terramate-catalyst/releases"
strategy :github_latest
end

binary "terramate"
end
Loading