mirror of
https://github.com/Myzel394/homebrew-formulae.git
synced 2025-06-18 23:45:31 +02:00
52 lines
1.5 KiB
Ruby
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.0"
|
|
|
|
on_macos do
|
|
on_intel do
|
|
url "https://github.com/Myzel394/config-lsp/releases/download/v0.1.0/config-lsp_Darwin_x86_64.tar.gz"
|
|
sha256 "5b1b15e591a6360d454469a44cd2dea36511f2b6aea0b258f67fd863862ff964"
|
|
|
|
def install
|
|
bin.install "config-lsp"
|
|
end
|
|
end
|
|
on_arm do
|
|
url "https://github.com/Myzel394/config-lsp/releases/download/v0.1.0/config-lsp_Darwin_arm64.tar.gz"
|
|
sha256 "2a6d196770a21148d8ee5cbacf40ba9b83fcaea9aed1f156c562f5c602a5cffb"
|
|
|
|
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.0/config-lsp_Linux_x86_64.tar.gz"
|
|
sha256 "a0dcb12606fd81e477f9288a04f98d805fecea8afacf4dff6ea64294685ca48f"
|
|
|
|
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.0/config-lsp_Linux_arm64.tar.gz"
|
|
sha256 "00fa242b67a97722e829f3b89fc0f4f0cc8b3e60ebb0eb7393bc88e0a9c80197"
|
|
|
|
def install
|
|
bin.install "config-lsp"
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|