From 0883ad5bfce765460b442b55ea18c23be695e97b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chuazhongming=E2=80=9D?= Date: Mon, 18 Nov 2024 21:23:37 +0800 Subject: [PATCH] support brew tab MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: “huazhongming” --- .gitignore | 14 ++++++++++++++ README.md | 17 +++++++++++++++++ layotto.rb | 20 ++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 layotto.rb diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4ccb931 --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +*.log* +.vscode +.idea +.test +.out +!./.gitignore +.DS_Store + +# Idea +*.iml + +# git +*.orig + diff --git a/README.md b/README.md new file mode 100644 index 0000000..3cba3b1 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# Layotto's Homebrew Tap + +## Setup + +Install [Homebrew](https://brew.sh) for macOS. + +## Install Layotto Runtime + +Install on macOS: + +```sh +brew install layotto/tap/layotto +``` + +## Generate new version. + +Automated via GitHub action, runs every 5 minutes. \ No newline at end of file diff --git a/layotto.rb b/layotto.rb new file mode 100644 index 0000000..3c2c4bb --- /dev/null +++ b/layotto.rb @@ -0,0 +1,20 @@ +# Documentation: https://docs.brew.sh/Formula-Cookbook +# https://rubydoc.brew.sh/Formula +# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST! +class Layotto < Formula + desc "A fast and efficient cloud native application runtime" + homepage "http://mosn.io/layotto/" + url "https://github.com/mosn/layotto/releases/download/v0.5.0/layotto.darwin_arm64.zip" + sha256 "9a6b10517d53d56513d72254a7638c39829b6b632cfe1fc621a7ccc11eb658b4" + license "Apache-2.0" + + end + + def install + bin.install "layotto" + end + + test do + system "false" + end +end