rename fgj-sid formula to fj, update to v0.3.2
This commit is contained in:
parent
ddb1c4d7b0
commit
c746c75ab9
3 changed files with 31 additions and 31 deletions
|
|
@ -1,29 +0,0 @@
|
||||||
class FgjSid < Formula
|
|
||||||
desc "Forgejo/Gitea CLI tool - like gh for GitHub, but for Forgejo and Gitea"
|
|
||||||
homepage "https://forgejo.zerova.net/public/fgj-sid"
|
|
||||||
license "MIT"
|
|
||||||
|
|
||||||
url "ssh://git@forgejo.zerova.net/public/fgj-sid.git",
|
|
||||||
tag: "v0.3.0f",
|
|
||||||
revision: "c2251d9932b9bc3014233f97cfe1c43249a0e22c"
|
|
||||||
head "ssh://git@forgejo.zerova.net/public/fgj-sid.git", branch: "main"
|
|
||||||
|
|
||||||
depends_on "go" => :build
|
|
||||||
|
|
||||||
def install
|
|
||||||
ldflags = "-s -w"
|
|
||||||
system "go", "build", *std_go_args(ldflags:)
|
|
||||||
|
|
||||||
generate_completions_from_executable(bin/"fgj", "completion")
|
|
||||||
|
|
||||||
# Generate man pages
|
|
||||||
mkdir "man" do
|
|
||||||
system bin/"fgj", "manpages", "--dir", "."
|
|
||||||
man1.install Dir["*.1"]
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
test do
|
|
||||||
assert_match "0.3.0f", shell_output("#{bin}/fgj --version")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
29
Formula/fj.rb
Normal file
29
Formula/fj.rb
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
class Fj < Formula
|
||||||
|
desc "Forgejo/Gitea CLI tool - like gh for GitHub, but for Forgejo and Gitea"
|
||||||
|
homepage "https://forgejo.zerova.net/public/fj"
|
||||||
|
license "MIT"
|
||||||
|
|
||||||
|
url "ssh://git@forgejo.zerova.net/public/fj.git",
|
||||||
|
tag: "v0.3.2",
|
||||||
|
revision: "25868adcad2af584b34032ebd034c4a070baaa43"
|
||||||
|
head "ssh://git@forgejo.zerova.net/public/fj.git", branch: "main"
|
||||||
|
|
||||||
|
depends_on "go" => :build
|
||||||
|
|
||||||
|
def install
|
||||||
|
ldflags = "-s -w"
|
||||||
|
system "go", "build", *std_go_args(ldflags:)
|
||||||
|
|
||||||
|
generate_completions_from_executable(bin/"fj", "completion")
|
||||||
|
|
||||||
|
# Generate man pages
|
||||||
|
mkdir "man" do
|
||||||
|
system bin/"fj", "manpages", "--dir", "."
|
||||||
|
man1.install Dir["*.1"]
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
test do
|
||||||
|
assert_match "0.3.2", shell_output("#{bin}/fj --version")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
@ -12,12 +12,12 @@ brew tap public/sid git@forgejo.zerova.net:public/homebrew-sid.git
|
||||||
|
|
||||||
| Formula | Description |
|
| Formula | Description |
|
||||||
|---------|-------------|
|
|---------|-------------|
|
||||||
| [fgj-sid](https://forgejo.zerova.net/public/fgj-sid) | Forgejo/Gitea CLI tool with agentic dev features (fork) |
|
| [fj](https://forgejo.zerova.net/public/fj) | Forgejo/Gitea CLI tool with agentic dev features (fork) |
|
||||||
| [tinc-feth](https://forgejo.zerova.net/public/tinc-feth) | tinc 1.0.37 VPN with macOS feth device support |
|
| [tinc-feth](https://forgejo.zerova.net/public/tinc-feth) | tinc 1.0.37 VPN with macOS feth device support |
|
||||||
| qemu-iscsi | QEMU built with `--enable-libiscsi` (iSCSI block backend) |
|
| qemu-iscsi | QEMU built with `--enable-libiscsi` (iSCSI block backend) |
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
brew install fgj-sid
|
brew install fj
|
||||||
brew install tinc-feth
|
brew install tinc-feth
|
||||||
brew install qemu-iscsi
|
brew install qemu-iscsi
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue