From 017ed7e7d2f9a33dc9c3774b492d00aef50015a5 Mon Sep 17 00:00:00 2001 From: Bevan Kay Date: Sat, 21 Sep 2024 19:11:03 +1000 Subject: [PATCH 1/2] sidekick 0.5.3 (new formula) --- Formula/s/sidekick.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Formula/s/sidekick.rb diff --git a/Formula/s/sidekick.rb b/Formula/s/sidekick.rb new file mode 100644 index 0000000000000..b920f5c3f18b3 --- /dev/null +++ b/Formula/s/sidekick.rb @@ -0,0 +1,19 @@ +class Sidekick < Formula + desc "Deploy applications to your VPS" + homepage "https://github.com/MightyMoud/sidekick" + url "https://github.com/MightyMoud/sidekick/archive/refs/tags/v0.5.3.tar.gz" + sha256 "11c6f23c67c122ec6e1e0fa4cd7119f7e044186abe810e08ea97708bb78e0a33" + license "GPL-3.0-only" + + depends_on "go" => :build + + def install + system "go", "build", *std_go_args(ldflags: "-s -w") + end + + test do + assert_match "With sidekick you can deploy any number of applications to a single VPS", + shell_output(bin/"sidekick") + assert_match("Sidekick config not found - Run sidekick init", shell_output("#{bin}/sidekick compose", 1)) + end +end From 7de44e145f99993b9c4f4f43f53fa6a9983681dd Mon Sep 17 00:00:00 2001 From: Bevan Kay Date: Sat, 21 Sep 2024 09:30:02 +0000 Subject: [PATCH 2/2] sidekick: add 0.5.3 bottle. --- Formula/s/sidekick.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Formula/s/sidekick.rb b/Formula/s/sidekick.rb index b920f5c3f18b3..599fcfa2285b3 100644 --- a/Formula/s/sidekick.rb +++ b/Formula/s/sidekick.rb @@ -5,6 +5,15 @@ class Sidekick < Formula sha256 "11c6f23c67c122ec6e1e0fa4cd7119f7e044186abe810e08ea97708bb78e0a33" license "GPL-3.0-only" + bottle do + sha256 cellar: :any_skip_relocation, arm64_sequoia: "0966d3dcaf938faa0dc73f2e9d67f9d85a746f81e916c3546865201782284193" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "0966d3dcaf938faa0dc73f2e9d67f9d85a746f81e916c3546865201782284193" + sha256 cellar: :any_skip_relocation, arm64_ventura: "0966d3dcaf938faa0dc73f2e9d67f9d85a746f81e916c3546865201782284193" + sha256 cellar: :any_skip_relocation, sonoma: "b4a0d4d6b5d011b8683ca90a030a3bf96ee83eb5e6fd4418bfe650b9a9edc7c5" + sha256 cellar: :any_skip_relocation, ventura: "b4a0d4d6b5d011b8683ca90a030a3bf96ee83eb5e6fd4418bfe650b9a9edc7c5" + sha256 cellar: :any_skip_relocation, x86_64_linux: "917920794d53e70a725d20a0bd6ceb772a3e8d8b59da27e354c806b5394dde23" + end + depends_on "go" => :build def install