Skip to content

Commit

Permalink
Merge pull request #202294 from Homebrew/hyperfine-bash
Browse files Browse the repository at this point in the history
hyperfine: update bash completion
  • Loading branch information
BrewTestBot authored Dec 24, 2024
2 parents 37afcfc + 79a47f4 commit d3e982c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Formula/h/hyperfine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@ class Hyperfine < Formula
head "/~https://github.com/sharkdp/hyperfine.git", branch: "master"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "1052ba49bea61d5067ddc7ed874e113f38861db6f803cbadd01ca76e2a669729"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "ce2bd2477b8ed96d4a450e5cb8461196b9141c974db2ee4ce36c967bd73e0186"
sha256 cellar: :any_skip_relocation, arm64_ventura: "de9596f8420130df8e51d30ac2c17f72b904dec69366ec085372f65020947640"
sha256 cellar: :any_skip_relocation, sonoma: "52bfaad54da195297be6f729d4b90428be28e8476be776ee936306333e09de94"
sha256 cellar: :any_skip_relocation, ventura: "22de2528600a8983011899f46ad1fe9b4c5e870f050ad3a3f31c5dd56bc029e7"
sha256 cellar: :any_skip_relocation, x86_64_linux: "d248b05f6f1c95ab9a9d987710b68483da51a8ef8684fb39567fa83d4298f681"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sequoia: "acf0ce7620aa8b6c3e1f1b755d8fb1a89445b4293935c3d5a96ea3f8f193ec22"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "76a4b9596447f7c86d96de9bd7d9312eceee745509f9bea470bc32fafe0b97b9"
sha256 cellar: :any_skip_relocation, arm64_ventura: "1113b8769a5054fd790e5de5cd95089ef500bcce78694f6263be6f25d521f0c7"
sha256 cellar: :any_skip_relocation, sonoma: "4b79040d510fe182211e539164cfa633858ec983b9ae33d62a8f028a18d01a0e"
sha256 cellar: :any_skip_relocation, ventura: "f738c61291419374ec425df822cef3486cc86504d42d7a995301b13485303b60"
sha256 cellar: :any_skip_relocation, x86_64_linux: "c758dccd2d2f5fbd7f6a2ae6971534ac1cb0c6f0f6e83ff21741798326c98b52"
end

depends_on "rust" => :build

def install
ENV["SHELL_COMPLETIONS_DIR"] = buildpath

system "cargo", "install", *std_cargo_args
man1.install "doc/hyperfine.1"

bash_completion.install "hyperfine.bash" => "hyperfine"
fish_completion.install "hyperfine.fish"
zsh_completion.install "_hyperfine"
# Bash completions are not compatible with Bash 3 so don't use v1 directory.
# bash: complete: nosort: invalid option name
# Issue ref: /~https://github.com/clap-rs/clap/issues/5190
(share/"bash-completion/completions").install "hyperfine.bash" => "hyperfine"
man1.install "doc/hyperfine.1"
end

test do
Expand Down

0 comments on commit d3e982c

Please sign in to comment.