From 220bfb1393cfdc4de7841fe38d76844609a644a8 Mon Sep 17 00:00:00 2001 From: munishchouhan Date: Thu, 16 Nov 2023 16:47:12 +0100 Subject: [PATCH] formula template added --- .../distributions/wave/brew/formula.rb.tpl | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app/src/jreleaser/distributions/wave/brew/formula.rb.tpl diff --git a/app/src/jreleaser/distributions/wave/brew/formula.rb.tpl b/app/src/jreleaser/distributions/wave/brew/formula.rb.tpl new file mode 100644 index 0000000..8470b23 --- /dev/null +++ b/app/src/jreleaser/distributions/wave/brew/formula.rb.tpl @@ -0,0 +1,20 @@ +# Homebrew Formula for Wave-cli + +class wave < Formula + desc "cli for wave" + homepage "https://github.com/seqeralabs/wave-cli" + url "https://github.com/seqeralabs/wave-cli/releases/download/v{{projectEffectiveVersion}}/wave-{{projectEffectiveVersion}}-macos-x86_64" + license "Apache-2.0" + + depends_on macos: ">= :catalina" + + def install + bin.install "wave" + end + + test do + system "#{bin}/wave", "--version" + end + end + +end \ No newline at end of file