Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Formula/d/docker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class Docker < Formula

depends_on "go" => :build
depends_on "go-md2man" => :build
depends_on "docker-completion"

conflicts_with cask: "docker-desktop"

Expand Down Expand Up @@ -51,6 +50,8 @@ def install
(man/"man#{section}").mkpath
system "go-md2man", "-in=#{md}", "-out=#{man}/man#{section}/#{md.stem}"
end

generate_completions_from_executable(bin/"docker", "completion", shells: [:bash, :fish, :pwsh, :zsh])
end

test do
Expand Down
Loading