Skip to content

Commit

Publish g1t CLI 0.3.7 Homebrew formula

syntaqxcommitted The first commitBrowse files
3 files+77−00/3 viewed
+40−0
1+# Generated by scripts/cli-homebrew.mjs from a verified release manifest.
2+class G1t < Formula
3+ desc "Work with g1t repositories, issues and pull requests"
4+ homepage "https://g1t.sh"
5+ version "0.3.7"
6+ license "MIT"
7+
8+ on_macos do
9+ on_arm do
10+ url "https://g1t.sh/downloads/cli/0.3.7/g1t-macos-arm64", using: :nounzip
11+ sha256 "f3b51a8025a64e0439af5685cc7498c1e76012cfb953754c689b3413f5f45dc6"
12+ end
13+ on_intel do
14+ url "https://g1t.sh/downloads/cli/0.3.7/g1t-macos-x64", using: :nounzip
15+ sha256 "6a8663699476d676b3d7781e03ea5588f0896f8394835677ee21e5c8a407e3ed"
16+ end
17+ end
18+
19+ on_linux do
20+ on_arm do
21+ url "https://g1t.sh/downloads/cli/0.3.7/g1t-linux-arm64", using: :nounzip
22+ sha256 "146c9f3e7c96fdf3d378893d562d7ac03a9d2c876949a9f70d4dd47aaef0cb8d"
23+ end
24+ on_intel do
25+ url "https://g1t.sh/downloads/cli/0.3.7/g1t-linux-x64", using: :nounzip
26+ sha256 "099eb3aba3d2076e497107c6edbff74f8f6b18cfbadf4f577f6b42fd94e16396"
27+ end
28+ end
29+
30+ def install
31+ os = OS.mac? ? "macos" : "linux"
32+ arch = Hardware::CPU.arm? ? "arm64" : "x64"
33+ bin.install "g1t-#{os}-#{arch}" => "g1t"
34+ end
35+
36+ test do
37+ assert_match version.to_s, shell_output("#{bin}/g1t --version")
38+ assert_match "Usage:", shell_output("#{bin}/g1t issue --help")
39+ end
40+end
+21−0
1+MIT License
2+
3+Copyright (c) 2026 Flagon, Inc.
4+
5+Permission is hereby granted, free of charge, to any person obtaining a copy
6+of this software and associated documentation files (the "Software"), to deal
7+in the Software without restriction, including without limitation the rights
8+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+copies of the Software, and to permit persons to whom the Software is
10+furnished to do so, subject to the following conditions:
11+
12+The above copyright notice and this permission notice shall be included in all
13+copies or substantial portions of the Software.
14+
15+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+SOFTWARE.
+16−0
1+# g1t Homebrew tap
2+
3+The official g1t CLI for macOS and Linux, hosted on g1t.
4+
5+```sh
6+brew tap flagon-io/tap https://g1t.sh/flagon-io/homebrew-tap.git
7+brew install flagon-io/tap/g1t
8+```
9+
10+Upgrade with `brew update && brew upgrade flagon-io/tap/g1t`.
11+
12+The formula pins versioned binaries and SHA-256 checksums from g1t's published release manifest. It supports Apple silicon and Intel macOS, and ARM64 and x64 Linux.
13+
14+[CLI documentation](https://docs.g1t.sh/guides/cli/) ? [Source](https://g1t.sh/flagon-io/g1t)
15+
16+Maintainers: regenerate `Formula/g1t.rb` with `scripts/cli-homebrew.mjs` in the g1t source repository after verifying the release manifest and downloads. Run `brew audit --strict flagon-io/tap/g1t`, `brew install flagon-io/tap/g1t`, and `brew test flagon-io/tap/g1t` on supported systems before updating this tap.

Comments

Sign in to comment.