From e3ae17ac0370235fb4b98454580687e109346f20 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sat, 14 Dec 2024 20:12:15 -0500 Subject: [PATCH 1/2] kool 3.3.0 (new formula) Signed-off-by: Rui Chen --- .github/autobump.txt | 1 + Formula/k/kool.rb | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 Formula/k/kool.rb diff --git a/.github/autobump.txt b/.github/autobump.txt index 45a1cbe2be49f..11088d3113294 100644 --- a/.github/autobump.txt +++ b/.github/autobump.txt @@ -1516,6 +1516,7 @@ knot knot-resolver ko kompose +kool kops kor kotlin diff --git a/Formula/k/kool.rb b/Formula/k/kool.rb new file mode 100644 index 0000000000000..26ce47a16a72a --- /dev/null +++ b/Formula/k/kool.rb @@ -0,0 +1,21 @@ +class Kool < Formula + desc "Web apps development with containers made easy" + homepage "https://kool.dev" + url "https://github.com/kool-dev/kool/archive/refs/tags/3.3.0.tar.gz" + sha256 "0b614cf4317a16c71edd7ad5973a10930b5f5ef342eb6dd840ada9debab61d70" + license "MIT" + head "https://github.com/kool-dev/kool.git", branch: "main" + + depends_on "go" => :build + + def install + system "go", "build", *std_go_args(ldflags: "-s -w -X kool-dev/kool/commands.version=#{version}") + + generate_completions_from_executable(bin/"kool", "completion") + end + + test do + assert_match version.to_s, shell_output("#{bin}/kool --version") + assert_match "docker doesn't seem to be installed", shell_output("#{bin}/kool status 2>&1", 1) + end +end From 6fd062f0291588ff6743620acf7032aed5c29c73 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sun, 15 Dec 2024 04:39:52 +0000 Subject: [PATCH 2/2] kool: add 3.3.0 bottle. --- Formula/k/kool.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Formula/k/kool.rb b/Formula/k/kool.rb index 26ce47a16a72a..17851d6b9b68c 100644 --- a/Formula/k/kool.rb +++ b/Formula/k/kool.rb @@ -6,6 +6,15 @@ class Kool < Formula license "MIT" head "https://github.com/kool-dev/kool.git", branch: "main" + bottle do + sha256 cellar: :any_skip_relocation, arm64_sequoia: "c5e462831f84464e6dd2ccd9b412851430d07aefbbbebafa02b6ca924debdef6" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "c5e462831f84464e6dd2ccd9b412851430d07aefbbbebafa02b6ca924debdef6" + sha256 cellar: :any_skip_relocation, arm64_ventura: "c5e462831f84464e6dd2ccd9b412851430d07aefbbbebafa02b6ca924debdef6" + sha256 cellar: :any_skip_relocation, sonoma: "b615c087c3c76e1824e4cc5e4589f013c7fa751b00615f6027fc5f7638ea9c8d" + sha256 cellar: :any_skip_relocation, ventura: "b615c087c3c76e1824e4cc5e4589f013c7fa751b00615f6027fc5f7638ea9c8d" + sha256 cellar: :any_skip_relocation, x86_64_linux: "9d8bbefb970f59bb5d970eba3f2ecb5b82b607b06eeeaf4e1b93c8fe8497e598" + end + depends_on "go" => :build def install