scalingo 1.22.0 (new formula)

Closes #92747.

Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
David Baumgold 2022-01-08 12:26:59 +01:00 committed by BrewTestBot
parent 4c8c09f6ff
commit 725d696573
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 25 additions and 0 deletions

25
Formula/scalingo.rb Normal file
View File

@ -0,0 +1,25 @@
class Scalingo < Formula
desc "CLI for working with Scalingo's PaaS"
homepage "https://doc.scalingo.com/cli"
url "https://github.com/Scalingo/cli/archive/refs/tags/1.22.0.tar.gz"
sha256 "f08236d73195e9107f1a2d4aaf0d01bd40e852e8f032bc5d42227677f65ee4ec"
license "BSD-4-Clause"
depends_on "go" => :build
def install
system "go", "build", *std_go_args, "scalingo/main.go"
end
test do
expected = <<~END
+-------------------+-------+
| CONFIGURATION KEY | VALUE |
+-------------------+-------+
| region | |
+-------------------+-------+
END
config_output = shell_output("#{bin}/scalingo config")
assert_equal config_output, expected
end
end