File tree 2 files changed +37
-0
lines changed 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -1140,6 +1140,7 @@ g-ls
1140
1140
g2o
1141
1141
gabo
1142
1142
gallery-dl
1143
+ gama
1143
1144
gambit
1144
1145
game-music-emu
1145
1146
gammaray
Original file line number Diff line number Diff line change
1
+ class Gama < Formula
2
+ desc "Manage your GitHub Actions from Terminal with great UI"
3
+ homepage "https://github.com/termkit/gama"
4
+ url "https://github.com/termkit/gama/archive/refs/tags/v1.2.1.tar.gz"
5
+ sha256 "d2fad1280142b0cc8cb311a5e328590feb0c5a1642c47e3f8e0aaf1b713f6c7b"
6
+ license "GPL-3.0-only"
7
+ head "https://github.com/termkit/gama.git" , branch : "main"
8
+
9
+ bottle do
10
+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "9078cd53e0763f843729a0ffda3321354a6b664ffb2bed87e372e700cd9faef1"
11
+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "9078cd53e0763f843729a0ffda3321354a6b664ffb2bed87e372e700cd9faef1"
12
+ sha256 cellar : :any_skip_relocation , arm64_ventura : "9078cd53e0763f843729a0ffda3321354a6b664ffb2bed87e372e700cd9faef1"
13
+ sha256 cellar : :any_skip_relocation , sonoma : "0c8a11688f5d7cc46cfb8bdcfab4ec50a22bd17447ca4d274942270e2c671ed5"
14
+ sha256 cellar : :any_skip_relocation , ventura : "0c8a11688f5d7cc46cfb8bdcfab4ec50a22bd17447ca4d274942270e2c671ed5"
15
+ sha256 cellar : :any_skip_relocation , x86_64_linux : "104456f00e51024a56c6e94f32e471b1288925f7cbe4a568fe73f360379566dd"
16
+ end
17
+
18
+ depends_on "go" => :build
19
+
20
+ def install
21
+ ldflags = "-s -w -X main.Version=#{ version } "
22
+ system "go" , "build" , *std_go_args ( ldflags :)
23
+ end
24
+
25
+ test do
26
+ # gama is a TUI app
27
+ #
28
+ # There's no any output to stdout (except for ncurses-like UI) or a file
29
+ # `gama --version` or `gama --help` are not valid options either
30
+ pid = spawn bin /"gama"
31
+ sleep 2
32
+ ensure
33
+ Process . kill ( "TERM" , pid )
34
+ Process . wait pid
35
+ end
36
+ end
You can’t perform that action at this time.
0 commit comments