homebrew-formulae/Formula/config-lsp.rb
2024-10-20 14:00:34 +02:00

52 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.1.1"
on_macos do
on_intel do
url "https://github.com/Myzel394/config-lsp/releases/download/v0.1.1/config-lsp_Darwin_x86_64.tar.gz"
sha256 "8cbee17db61f210e1ae148332352685754b555e41f3c721ed94fee35eaabed38"
def install
bin.install "config-lsp"
end
end
on_arm do
url "https://github.com/Myzel394/config-lsp/releases/download/v0.1.1/config-lsp_Darwin_arm64.tar.gz"
sha256 "313499c4fb577dece5397a3d68a9c1b50dc80716ce0c9dd63578f267d7978951"
def install
bin.install "config-lsp"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/Myzel394/config-lsp/releases/download/v0.1.1/config-lsp_Linux_x86_64.tar.gz"
sha256 "f06167f868e6c97d7b7a87673a66f5fa0cc62e4cdb51d52e8a459e9fc7b37d2c"
def install
bin.install "config-lsp"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/Myzel394/config-lsp/releases/download/v0.1.1/config-lsp_Linux_arm64.tar.gz"
sha256 "5a58a55deedcb54328772bbdc117a8e6d0e55a6490fb68072155482861933447"
def install
bin.install "config-lsp"
end
end
end
end
end