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.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 "6aecbe0a6d119558bd2dd07e5fbccd7eb70efd3eb7178f3d6d04254f3bdf56e2"
|
|
|
|
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 "a5b330b79cfdd856e44b92fe70a9e3f8abc30e0bd2e897aa25bda5898e01f081"
|
|
|
|
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 "7a029e445a0fb8edce1980cb4d587fbf777d2c85f58fc67ea2a7601b783d9d66"
|
|
|
|
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 "ec517d6c10b0273ead57392940afbe1d27b4cc51db49ca234afcccd1c4d2a501"
|
|
|
|
def install
|
|
bin.install "config-lsp"
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|