mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00

Remove all code related to Bintray. It no longer works so there's no point keeping it around. Some of this could arguably be deprecated/disabled first/instead but: I'm not sure I see the sense in keeping stuff around that's known to be broken.
25 lines
436 B
Ruby
25 lines
436 B
Ruby
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
require "cli/parser"
|
|
|
|
module Homebrew
|
|
extend T::Sig
|
|
|
|
module_function
|
|
|
|
sig { returns(CLI::Parser) }
|
|
def mirror_args
|
|
Homebrew::CLI::Parser.new do
|
|
description <<~EOS
|
|
Reupload the stable URL of a formula for use as a mirror.
|
|
EOS
|
|
hide_from_man_page!
|
|
end
|
|
end
|
|
|
|
def mirror
|
|
odisabled "`brew mirror` (Bintray was shut down on 1st May 2021)"
|
|
end
|
|
end
|