fix: update checksums for v0.1.0
This commit is contained in:
1 parent
73b1fa347d
commit
c0831efbac
1 file changed
+11
-18
+11
-18
@@ -7,27 +7,27 @@ class Barn < Formula
|
|||||||
on_macos do
|
on_macos do
|
||||||
on_arm do
|
on_arm do
|
||||||
url "https://github.com/samson-media/barn/releases/download/v#{version}/barn-macos-arm64"
|
url "https://github.com/samson-media/barn/releases/download/v#{version}/barn-macos-arm64"
|
||||||
sha256 "PLACEHOLDER"
|
sha256 "96465d84451f6b2a338378dd8f6c68ed5998544d7f2527cca7e868c531d10c7f"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
bin.install "barn-macos-arm64" => "barn"
|
bin.install "barn-macos-arm64" => "barn"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
on_intel do
|
|
||||||
url "https://github.com/samson-media/barn/releases/download/v#{version}/barn-macos-x64"
|
|
||||||
sha256 "PLACEHOLDER"
|
|
||||||
|
|
||||||
def install
|
|
||||||
bin.install "barn-macos-x64" => "barn"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
on_linux do
|
on_linux do
|
||||||
|
on_arm do
|
||||||
|
url "https://github.com/samson-media/barn/releases/download/v#{version}/barn-linux-arm64"
|
||||||
|
sha256 "f3f1dea009d242847e128b086bc87c423e02be6f734b874f7513b9f221a88aeb"
|
||||||
|
|
||||||
|
def install
|
||||||
|
bin.install "barn-linux-arm64" => "barn"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
on_intel do
|
on_intel do
|
||||||
url "https://github.com/samson-media/barn/releases/download/v#{version}/barn-linux-x64"
|
url "https://github.com/samson-media/barn/releases/download/v#{version}/barn-linux-x64"
|
||||||
sha256 "PLACEHOLDER"
|
sha256 "45107eb15f676a749ebbdd350587d4167ae9756c0755dc9bff7d5e6059627af1"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
bin.install "barn-linux-x64" => "barn"
|
bin.install "barn-linux-x64" => "barn"
|
||||||
@@ -35,13 +35,6 @@ class Barn < Formula
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
service do
|
|
||||||
run [opt_bin/"barn", "service", "run"]
|
|
||||||
keep_alive true
|
|
||||||
log_path var/"log/barn.log"
|
|
||||||
error_log_path var/"log/barn.error.log"
|
|
||||||
end
|
|
||||||
|
|
||||||
test do
|
test do
|
||||||
assert_match "barn", shell_output("#{bin}/barn --version")
|
assert_match "barn", shell_output("#{bin}/barn --version")
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user