File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ cask "review-goose" do
2+ version "0.9.3"
3+ sha256 :no_check # Built from source, no pre-compiled binary
4+
5+ url "https://github.com/codeGROOVE-dev/goose.git" ,
6+ tag : "v#{ version } " ,
7+ revision : "7ed1d3a9f3904414b3c2c8999e88fde99f293ba6"
8+ name "Review Goose"
9+ desc "Menubar for GitHub pull request tracking and notifications"
10+ homepage "https://codegroove.dev/products/goose/"
11+
12+ depends_on formula : "go"
13+ depends_on formula : "gh"
14+
15+ preflight do
16+ system_command "make" ,
17+ args : [ "app-bundle" ] ,
18+ chdir : staged_path
19+ end
20+
21+ app "out/Review Goose.app"
22+
23+ zap trash : [
24+ "~/Library/Preferences/dev.codegroove.goose.plist" ,
25+ "~/Library/Application Support/goose" ,
26+ ]
27+ end
Original file line number Diff line number Diff line change 1+ class ReviewGoose < Formula
2+ desc "Menubar for GitHub pull request tracking and notifications"
3+ homepage "https://codegroove.dev/products/goose/"
4+
5+ url "https://github.com/codeGROOVE-dev/goose.git" ,
6+ tag : "v0.9.3" ,
7+ revision : "7ed1d3a9f3904414b3c2c8999e88fde99f293ba6"
8+ license "GPL-3.0"
9+ head "https://github.com/codeGROOVE-dev/goose.git" , branch : "main"
10+
11+ # On macOS, use the cask instead (brew install --cask review-goose)
12+ # This formula is primarily for Linux support
13+ depends_on :linux
14+
15+ depends_on "go" => :build
16+ depends_on "gh"
17+
18+ def install
19+ system "make" , "build"
20+ bin . install "out/review-goose"
21+ end
22+
23+ test do
24+ output = shell_output ( "#{ bin } /review-goose --version" )
25+ assert_match version . to_s , output
26+ end
27+ end
You can’t perform that action at this time.
0 commit comments