From c2dff5efadfa3c210359789a4737d9c34b30eb4e Mon Sep 17 00:00:00 2001 From: MAL Date: Tue, 10 Oct 2023 13:29:14 +0200 Subject: [PATCH] add osc-cost formula brew --- Formula/osc-cost.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Formula/osc-cost.rb diff --git a/Formula/osc-cost.rb b/Formula/osc-cost.rb new file mode 100644 index 0000000..b377196 --- /dev/null +++ b/Formula/osc-cost.rb @@ -0,0 +1,16 @@ +class OscCost < Formula + desc "osc-cost allows Outscale users to estimate their cloud costs." + homepage "https://github.com/outscale/osc-cost" + url "https://github.com/outscale/osc-cost/releases/download/v0.3.3/osc-cost-v0.3.3-x86_64-apple-darwin" + sha256 "dfec6444cdc4eecead4ab67d35a3d841a4fd72c2a12614f69d73ce807e47fcb9" + license "BSD-3-Clause" + + def install + bin.install "osc-cost-v0.3.3-x86_64-apple-darwin" => "osc-cost" + end + + test do + str = shell_output("#{bin}/osc-cost --help") + assert_match "osc-cost", str + end +end