homebrew-formulae/Formula/config-lsp.rb
2024-10-20 13:39:35 +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 "1efc3548d3c93187f091f88491344e9dea88fe32c76c4a88cc5461a48ba4838c"
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 "3290efc66540e6cd91810faa6e7e5f1d3739382cbc37c624ff1e1d7838919575"
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 "b6a76a555caa27f1aaad3e2694ee6d4dc7aa059b623bf3a04b90c948907e9ea1"
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 "4134e5b301823beb10db028d4a5430153c8cb871037bae7272ff97636a04781e"
def install
bin.install "config-lsp"
end
end
end
end
end