Skip to content

gama 1.2.1 (new formula) #216865

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 28, 2025
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1140,6 +1140,7 @@ g-ls
g2o
gabo
gallery-dl
gama
gambit
game-music-emu
gammaray
Expand Down
36 changes: 36 additions & 0 deletions Formula/g/gama.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
class Gama < Formula
desc "Manage your GitHub Actions from Terminal with great UI"
homepage "https://github.com/termkit/gama"
url "https://github.com/termkit/gama/archive/refs/tags/v1.2.1.tar.gz"
sha256 "d2fad1280142b0cc8cb311a5e328590feb0c5a1642c47e3f8e0aaf1b713f6c7b"
license "GPL-3.0-only"
head "https://github.com/termkit/gama.git", branch: "main"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "9078cd53e0763f843729a0ffda3321354a6b664ffb2bed87e372e700cd9faef1"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "9078cd53e0763f843729a0ffda3321354a6b664ffb2bed87e372e700cd9faef1"
sha256 cellar: :any_skip_relocation, arm64_ventura: "9078cd53e0763f843729a0ffda3321354a6b664ffb2bed87e372e700cd9faef1"
sha256 cellar: :any_skip_relocation, sonoma: "0c8a11688f5d7cc46cfb8bdcfab4ec50a22bd17447ca4d274942270e2c671ed5"
sha256 cellar: :any_skip_relocation, ventura: "0c8a11688f5d7cc46cfb8bdcfab4ec50a22bd17447ca4d274942270e2c671ed5"
sha256 cellar: :any_skip_relocation, x86_64_linux: "104456f00e51024a56c6e94f32e471b1288925f7cbe4a568fe73f360379566dd"
end

depends_on "go" => :build

def install
ldflags = "-s -w -X main.Version=#{version}"
system "go", "build", *std_go_args(ldflags:)
end

test do
# gama is a TUI app
#
# There's no any output to stdout (except for ncurses-like UI) or a file
# `gama --version` or `gama --help` are not valid options either
pid = spawn bin/"gama"
sleep 2
ensure
Process.kill("TERM", pid)
Process.wait pid
end
end
Loading