chore: change goreleaser from plist to service (#6899)

This commit is contained in:
Frederic Kayser 2023-03-17 18:58:56 +01:00 • committed by GitHub
parent ec8c763106
commit 0b7b9f3ba2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,24 +97,9 @@ brews:
license: "MIT"
test: |
system "#{bin}/evcc --version"
plist: |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>#{plist_name}</string>
<key>Program</key>
<string>#{bin}/evcc</string>
<key>WorkingDirectory</key>
<string>#{var}</string>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>StandardOutPath</key>
<string>#{var}/log/evcc.log</string>
<key>StandardErrorPath</key>
<string>#{var}/log/evcc.log</string>
</dict>
</plist>
service: |
run [opt_bin/"evcc"]
working_dir HOMEBREW_PREFIX
keep_alive true
log_path var/"log/evcc.log"
error_log_path var/"log/evcc.log"