brew/Library/Homebrew/dev-cmd/install-bundler-gems.rb
Mike McQuaid 04835db85e
Move some brew-test-bot logic to GitHub Actions.
This will improve the output and ease of parsing while allowing code to
be removed from brew-test-bot which relates only to a single repo (this
one).
2019-11-21 19:50:23 +00:00

26 lines
424 B
Ruby

# frozen_string_literal: true
require "formula"
require "cli/parser"
module Homebrew
module_function
def install_bundler_gems_args
Homebrew::CLI::Parser.new do
usage_banner <<~EOS
`install-bundler-gems`
Install Homebrew's Bundler gems.
EOS
switch :debug
end
end
def install_bundler_gems
install_bundler_gems_args.parse
Homebrew.install_bundler_gems!
end
end