aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions/cmd/brew-versions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Contributions/cmd/brew-versions.rb')
-rwxr-xr-xLibrary/Contributions/cmd/brew-versions.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/Library/Contributions/cmd/brew-versions.rb b/Library/Contributions/cmd/brew-versions.rb
deleted file mode 100755
index 6a662962d..000000000
--- a/Library/Contributions/cmd/brew-versions.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-require "formula_versions"
-
-raise "Please `brew update` first" unless (HOMEBREW_REPOSITORY/".git").directory?
-raise FormulaUnspecifiedError if ARGV.named.empty?
-
-opoo <<-EOS.undent
- brew-versions is unsupported and will be removed soon.
- You should use the homebrew-versions tap instead:
- https://github.com/Homebrew/homebrew-versions
-
-EOS
-ARGV.formulae.each do |f|
- versions = FormulaVersions.new(f)
- path = versions.repository_path
- versions.each do |version, rev|
- print "#{Tty.white}#{version.to_s.ljust(8)}#{Tty.reset} "
- puts "git checkout #{rev} #{path}"
- end
-end