monero: fix RuboCop Style/TrailingBodyOnMethodDefinition.
parent
1850fef567
commit
2d674c7bea
|
@ -35,23 +35,24 @@ class Monero < Formula
|
||||||
|
|
||||||
plist_options :manual => "monerod"
|
plist_options :manual => "monerod"
|
||||||
|
|
||||||
def plist; <<~EOS
|
def plist
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<<~EOS
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<plist version="1.0">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<dict>
|
<plist version="1.0">
|
||||||
<key>Label</key>
|
<dict>
|
||||||
<string>#{plist_name}</string>
|
<key>Label</key>
|
||||||
<key>ProgramArguments</key>
|
<string>#{plist_name}</string>
|
||||||
<array>
|
<key>ProgramArguments</key>
|
||||||
<string>#{opt_bin}/monerod</string>
|
<array>
|
||||||
<string>--non-interactive</string>
|
<string>#{opt_bin}/monerod</string>
|
||||||
</array>
|
<string>--non-interactive</string>
|
||||||
<key>RunAtLoad</key>
|
</array>
|
||||||
<true/>
|
<key>RunAtLoad</key>
|
||||||
</dict>
|
<true/>
|
||||||
</plist>
|
</dict>
|
||||||
EOS
|
</plist>
|
||||||
|
EOS
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
|
|
Loading…
Reference in New Issue