Skip to content

Commit b048bca

Browse files
Thomas StrombergThomas Stromberg
authored andcommitted
fix style issues
1 parent f13806b commit b048bca

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Casks/review-goose.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cask "review-goose" do
22
version "0.9.4"
3-
sha256 :no_check # Built from source, no pre-compiled binary
3+
sha256 :no_check # Built from source, no pre-compiled binary
44

55
url "https://github.com/codeGROOVE-dev/goose.git",
66
tag: "v#{version}",
@@ -12,19 +12,19 @@
1212
depends_on formula: "go"
1313
depends_on formula: "gh"
1414

15+
app "out/Review Goose.app"
16+
1517
preflight do
1618
system_command "make",
17-
args: ["app-bundle"],
19+
args: ["app-bundle"],
1820
chdir: staged_path,
19-
env: {
20-
"PATH" => "#{HOMEBREW_PREFIX}/bin:#{ENV["PATH"]}",
21+
env: {
22+
"PATH" => "#{HOMEBREW_PREFIX}/bin:#{ENV.fetch("PATH", nil)}",
2123
}
2224
end
2325

24-
app "out/Review Goose.app"
25-
2626
zap trash: [
27-
"~/Library/Preferences/dev.codegroove.goose.plist",
2827
"~/Library/Application Support/goose",
28+
"~/Library/Preferences/dev.codegroove.goose.plist",
2929
]
3030
end

Formula/review-goose.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ class ReviewGoose < Formula
88
license "GPL-3.0"
99
head "https://github.com/codeGROOVE-dev/goose.git", branch: "main"
1010

11+
depends_on "go" => :build
12+
depends_on "gh"
13+
1114
# On macOS, use the cask instead (brew install --cask review-goose)
1215
# This formula is primarily for Linux support
1316
depends_on :linux
1417

15-
depends_on "go" => :build
16-
depends_on "gh"
17-
1818
def install
1919
system "make", "build"
2020
bin.install "out/review-goose"

0 commit comments

Comments
 (0)