Skip to content

Commit

Permalink
Brew formula update for slr version v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
goreleaserbot committed May 17, 2024
1 parent 94cf91d commit 06cd1ad
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions Formula/slr.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# typed: false
# frozen_string_literal: true

# This file was generated by GoReleaser. DO NOT EDIT.
class Slr < Formula
desc "slr"
homepage "https://github.com/sikalabs/slr"
version "0.1.0"

on_macos do
if Hardware::CPU.arm?
url "https://github.com/sikalabs/slr/releases/download/v0.1.0/slr_v0.1.0_darwin_arm64.tar.gz"
sha256 "991de83249048b933374db82cfa101a78c90b4ca8d170327b7d83ca4bf9407e7"

def install
bin.install "slr"
end
end
if Hardware::CPU.intel?
url "https://github.com/sikalabs/slr/releases/download/v0.1.0/slr_v0.1.0_darwin_amd64.tar.gz"
sha256 "8ba9078ec20340f5aff73f297651ca355b719b9ae7aea6c5fd0798b0e0ec7262"

def install
bin.install "slr"
end
end
end

on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/sikalabs/slr/releases/download/v0.1.0/slr_v0.1.0_linux_arm64.tar.gz"
sha256 "09e71efc8674d5099765c6342e43040d7987700a7db107215134245c6232a2d2"

def install
bin.install "slr"
end
end
if Hardware::CPU.intel?
url "https://github.com/sikalabs/slr/releases/download/v0.1.0/slr_v0.1.0_linux_amd64.tar.gz"
sha256 "cffa2fcb415713e6df836b7ce0a4635e0640724510ceb941880644c09e3a95d6"

def install
bin.install "slr"
end
end
end

def caveats
<<~EOS
How to use this binary: https://github.com/sikalabs/slr
EOS
end

test do
system "#{bin}/slr version"
end
end

0 comments on commit 06cd1ad

Please sign in to comment.