diff options
| author | Mike McQuaid | 2016-09-07 20:08:51 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-09-08 20:46:55 +0100 |
| commit | 9514d1f8f522057a336eb1c3c5a48fb4206ebd84 (patch) | |
| tree | d4a6c05cf4f48549a4ab35983ac8ee124206a31b /Library | |
| parent | 71881fd7a66227738a654d98f04647d412c11980 (diff) | |
| download | brew-9514d1f8f522057a336eb1c3c5a48fb4206ebd84.tar.bz2 | |
commands: developer not development commands.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/commands.rb | 8 | ||||
| -rw-r--r-- | Library/Homebrew/test/test_commands.rb | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Library/Homebrew/cmd/commands.rb b/Library/Homebrew/cmd/commands.rb index bb1e6fe4d..b8407d668 100644 --- a/Library/Homebrew/cmd/commands.rb +++ b/Library/Homebrew/cmd/commands.rb @@ -8,7 +8,7 @@ module Homebrew def commands if ARGV.include? "--quiet" cmds = internal_commands + external_commands - cmds += internal_development_commands + cmds += internal_developer_commands cmds += HOMEBREW_INTERNAL_COMMAND_ALIASES.keys if ARGV.include? "--include-aliases" puts_columns cmds.sort else @@ -19,8 +19,8 @@ module Homebrew # Find commands in Homebrew/dev-cmd if ARGV.homebrew_developer? puts - puts "Built-in development commands" - puts_columns internal_development_commands + puts "Built-in developer commands" + puts_columns internal_developer_commands end # Find commands in the path @@ -36,7 +36,7 @@ module Homebrew find_internal_commands HOMEBREW_LIBRARY_PATH/"cmd" end - def internal_development_commands + def internal_developer_commands find_internal_commands HOMEBREW_LIBRARY_PATH/"dev-cmd" end diff --git a/Library/Homebrew/test/test_commands.rb b/Library/Homebrew/test/test_commands.rb index 4a24107a9..88e35f416 100644 --- a/Library/Homebrew/test/test_commands.rb +++ b/Library/Homebrew/test/test_commands.rb @@ -29,8 +29,8 @@ class CommandsTests < Homebrew::TestCase refute cmds.include?("rbdevcmd"), "Dev commands shouldn't be included" end - def test_internal_development_commands - cmds = Homebrew.internal_development_commands + def test_internal_developer_commands + cmds = Homebrew.internal_developer_commands assert cmds.include?("rbdevcmd"), "Ruby commands files should be recognized" assert cmds.include?("shdevcmd"), "Shell commands files should be recognized" refute cmds.include?("rbcmd"), "Non-dev commands shouldn't be included" |
