template / commit
Brew formula update for template version v0.1.18
HomebrewFormula/template.rb | 68 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/HomebrewFormula/template.rb b/HomebrewFormula/template.rb new file mode 100644 index 0000000..dfbed3c --- /dev/null +++ b/HomebrewFormula/template.rb @@ -0,0 +1,68 @@ +# typed: false +# frozen_string_literal: true + +# This file was generated by GoReleaser. DO NOT EDIT. +class Template < Formula + desc "This CLI creates files and folders with generated templated names and content." + homepage "https://gitlab.com/fuzzy-rp/template/" + version "0.1.18" + license "MIT" + + depends_on "sprig" + depends_on "logrus" + depends_on "testify" + depends_on "cli" + + on_macos do + if Hardware::CPU.intel? + url "https://gitlab.com/fuzzy-rp/template/-/releases/v0.1.18/downloads/template_0.1.18_Darwin_x86_64.tar.gz" + sha256 "00d48e631e1f9079c3fae0ca796c66c2de613ba7e88b120f4a7da035b6495818" + + def install + bin.install "template" + end + end + if Hardware::CPU.arm? + url "https://gitlab.com/fuzzy-rp/template/-/releases/v0.1.18/downloads/template_0.1.18_Darwin_arm64.tar.gz" + sha256 "9d9143e801d706857a1e2fa107ff771d782ad64a44300854e3508fecf5fa39b4" + + def install + bin.install "template" + end + end + end + + on_linux do + if Hardware::CPU.intel? + url "https://gitlab.com/fuzzy-rp/template/-/releases/v0.1.18/downloads/template_0.1.18_Linux_x86_64.tar.gz" + sha256 "36492ba1cac996ed49020eae1f8c4b00128b67de085e5d53ac24022eac05142f" + + def install + bin.install "template" + end + end + if Hardware::CPU.arm? && Hardware::CPU.is_64_bit? + url "https://gitlab.com/fuzzy-rp/template/-/releases/v0.1.18/downloads/template_0.1.18_Linux_arm64.tar.gz" + sha256 "1e12f7624cb61ed6f94136c9e42a4ddc44091ba0c1833e786353b64b8887285d" + + def install + bin.install "template" + end + end + end + + def post_install + template reset + end + + def caveats + <<~EOS + How to use this binary: https://gitlab.com/fuzzy-rp/template/-/blob/main/README.md + EOS + end + + test do + system "#{bin}/template --version" + # ... + end +end