-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
class SidekickCli < Formula | ||
Check notice on line 1 in Formula/s/sidekick-cli.rb GitHub Actions / LinuxBottle cache hit
Check notice on line 1 in Formula/s/sidekick-cli.rb GitHub Actions / macOS 15-arm64Bottle cache hit
Check notice on line 1 in Formula/s/sidekick-cli.rb GitHub Actions / macOS 14-arm64Bottle cache hit
Check notice on line 1 in Formula/s/sidekick-cli.rb GitHub Actions / macOS 14-x86_64Bottle cache hit
Check notice on line 1 in Formula/s/sidekick-cli.rb GitHub Actions / macOS 13-arm64Bottle cache hit
|
||
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", output: bin/"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 |