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 "c0a975579df3f153fc7706885616aa2d1bbb41ef7c3878ecaa42acd87539311d"
|
|
|
|
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 "363820ac4b50d8a1551c6663ba2d507959e53d17fd721cc65e70cda58f266d2f"
|
|
|
|
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 "9cb14adb1a7b6e04db315fa7af6e442210f126d43a9e6c151feaf841bfed20cc"
|
|
|
|
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 "6b57bc34b1b2ce7d2be4bb528f4d1fa39b26249b5ec898bbc095c1f05674ba16"
|
|
|
|
def install
|
|
bin.install "config-lsp"
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|