homebrew-formulae/Formula/config-lsp.rb
2025-03-16 21:55:52 +01:00

52 lines
1.6 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.0"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/Myzel394/config-lsp/releases/download/v0.2.0/config-lsp_Darwin_x86_64.tar.gz"
sha256 "5feffca5996c44472a570be431ef24637f6fa04f92b0b244fe1551d09c72d1aa"
def install
bin.install "config-lsp"
end
end
if Hardware::CPU.arm?
url "https://github.com/Myzel394/config-lsp/releases/download/v0.2.0/config-lsp_Darwin_arm64.tar.gz"
sha256 "aa213b7bbb47a03876d0684a5cdac56a0278040695258fc63a191776287c5a9f"
def install
bin.install "config-lsp"
end
end
end
on_linux do
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
url "https://github.com/Myzel394/config-lsp/releases/download/v0.2.0/config-lsp_Linux_x86_64.tar.gz"
sha256 "d1c8a0d0e19f620ce01ccb9fcf5180d6da98f8d7fec0508fbff1d25ca60d1b3a"
def install
bin.install "config-lsp"
end
end
end
if Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://github.com/Myzel394/config-lsp/releases/download/v0.2.0/config-lsp_Linux_arm64.tar.gz"
sha256 "cd7787f1cd1b596ac0869e784b8e92c3f03c2eb51a1c3cab2066c320936f6e30"
def install
bin.install "config-lsp"
end
end
end
end
end