Skip to content
Snippets Groups Projects
Unverified Commit 7a086911 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

commands: helper for official external commands.

parent f63d2d78
No related branches found
No related tags found
No related merge requests found
......@@ -100,6 +100,14 @@ module Commands
find_commands HOMEBREW_DEV_CMD_PATH
end
def official_external_commands_paths
%w[bundle services].map do |cmd|
tap = Tap.fetch("Homebrew/#{cmd}")
tap.install unless tap.installed?
external_ruby_v2_cmd_path(cmd)
end
end
def internal_commands
find_internal_commands(HOMEBREW_CMD_PATH).map(&:to_s)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment