mirror of
https://github.com/Myzel394/homebrew-formulae.git
synced 2025-06-18 07:25:31 +02:00
46 lines
1.5 KiB
Ruby
46 lines
1.5 KiB
Ruby
# typed: false
|
|
# frozen_string_literal: true
|
|
|
|
# This file was generated by GoReleaser. DO NOT EDIT.
|
|
class ConfigLsp < Formula
|
|
desc "Finally a LSP for your config files: gitconfig, fstab, aliases, hosts, wireguard, ssh_config, sshd_config, and more to come!"
|
|
homepage "https://github.com/Myzel394/config-lsp"
|
|
version "0.2.2"
|
|
|
|
on_macos do
|
|
if Hardware::CPU.intel?
|
|
url "https://github.com/Myzel394/config-lsp/releases/download/v0.2.2/config-lsp_Darwin_x86_64.tar.gz"
|
|
sha256 "5ce3f95f685810fdb5e1e1f2de93fa33018fe2beba6da8944f8f83d09f6df0d5"
|
|
|
|
def install
|
|
bin.install "config-lsp"
|
|
end
|
|
end
|
|
if Hardware::CPU.arm?
|
|
url "https://github.com/Myzel394/config-lsp/releases/download/v0.2.2/config-lsp_Darwin_arm64.tar.gz"
|
|
sha256 "ba1a47ac3fc6bca26ded375fb7352f70e53c692784932a08a6a44c72283f546c"
|
|
|
|
def install
|
|
bin.install "config-lsp"
|
|
end
|
|
end
|
|
end
|
|
|
|
on_linux do
|
|
if Hardware::CPU.intel? and Hardware::CPU.is_64_bit?
|
|
url "https://github.com/Myzel394/config-lsp/releases/download/v0.2.2/config-lsp_Linux_x86_64.tar.gz"
|
|
sha256 "4643167b0bd091f7bf374bb4dd80bc4ca432636b57d0983c939a17f744e80fe1"
|
|
def install
|
|
bin.install "config-lsp"
|
|
end
|
|
end
|
|
if Hardware::CPU.arm? and Hardware::CPU.is_64_bit?
|
|
url "https://github.com/Myzel394/config-lsp/releases/download/v0.2.2/config-lsp_Linux_arm64.tar.gz"
|
|
sha256 "732140130f09362104c9098a90f9840cf522341e55ada90d74c9cde075ef9111"
|
|
def install
|
|
bin.install "config-lsp"
|
|
end
|
|
end
|
|
end
|
|
end
|