homebrew-formulae/Formula/config-lsp.rb
2025-02-13 22:59:49 +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.1.3"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/Myzel394/config-lsp/releases/download/v0.1.3/config-lsp_Darwin_x86_64.tar.gz"
sha256 "da344d74a73c5f20498fd44cccc5d91892f9cb0d451031edade8b67737b33d04"
def install
bin.install "config-lsp"
end
end
if Hardware::CPU.arm?
url "https://github.com/Myzel394/config-lsp/releases/download/v0.1.3/config-lsp_Darwin_arm64.tar.gz"
sha256 "2258e20e0e10834baa012ff929bc0f633a72c9c87d2b93f95d73703891c73cab"
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.1.3/config-lsp_Linux_x86_64.tar.gz"
sha256 "cb0969d7238388e619e256b2c3ea1bd3f4b83e58b9e842caa71f16de703cfdea"
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.1.3/config-lsp_Linux_arm64.tar.gz"
sha256 "9c79478ff0125125b3d7d04b40e2641de5295d5502c486ff0de4611affba5dbf"
def install
bin.install "config-lsp"
end
end
end
end
end