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
parent
4c8c09f6ff
commit
725d696573
|
@ -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
|
Loading…
Reference in New Issue