Skip to content

Commit

Permalink
Experiment: add service block to fix "undefined method `plist_startup'"
Browse files Browse the repository at this point in the history
  • Loading branch information
jordaneb authored Jan 18, 2024
1 parent 8fbb940 commit eaf38e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Formula/crab.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ def plist
EOS
end

service do
name macos: "#{plist_name}"
end

test do
assert_match "crab v#{version}", shell_output("#{bin}/crab --version")
assert_match "crab v#{version}", shell_output("#{bin}/crab")
Expand Down

0 comments on commit eaf38e4

Please sign in to comment.