Skip to content

Commit

Permalink
kool 3.3.0 (new formula)
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Dec 15, 2024
1 parent e6ac025 commit e3ae17a
Show file tree
Hide file tree
Showing 2 changed files with 22 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
21 changes: 21 additions & 0 deletions Formula/k/kool.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e3ae17a

Please sign in to comment.