Skip to content

Commit

Permalink
Merge pull request #201215 from Homebrew/kool
Browse files Browse the repository at this point in the history
kool 3.3.0 (new formula)
  • Loading branch information
BrewTestBot authored Dec 15, 2024
2 parents 013c233 + 6fd062f commit 3ba24d8
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1516,6 +1516,7 @@ knot
knot-resolver
ko
kompose
kool
kops
kor
kotlin
Expand Down
30 changes: 30 additions & 0 deletions Formula/k/kool.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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"

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
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

0 comments on commit 3ba24d8

Please sign in to comment.