Skip to content

Commit

Permalink
sidekick-cli 0.5.3 (new formula)
Browse files Browse the repository at this point in the history
  • Loading branch information
bevanjkay committed Sep 20, 2024
1 parent 921029c commit 2a29cb4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Formula/s/sidekick-cli.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
class SidekickCli < 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")
bin.install bin/"sidekick-cli" => "sidekick"
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

0 comments on commit 2a29cb4

Please sign in to comment.