| Age | Commit message (Collapse) | Author |
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
`brew fetch --deps` will also cache the dependencies of any listed formulae.
|
|
If a formula is given, it will be checked for missing deps.
The formula does not have to be installed first.
Without a formula list, still checks all installed brews.
|
|
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
|
|
This removes the single use of 'brew audit --warn' and
changes it to --strict as well.
|
|
|
|
|
|
Be more useful by being more concise. I referenced dozens of other mature commands’ usage to figure out what to do here.
Also separated out the help into its own command for consistency.
|
|
|
|
|
|
|
|
|
|
|
|
This allows you to use llvm as your default compiler and keep the cc symlink
pointed at llvm, while allowing you to build forumla that requires the gcc.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
|
|
The code was sucking. To the extent that maintenance was hard. It's a lot
easier to work with code that is sensibly split at sensible boundaries. So
now it is more like that.
But the refactor is minimal. Because we don't want you to have more merge
hell than absolutely necessary.
If you merge you will need to pay attention to brew.h.rb (as it is deleted)
and bin/brew (as command logic is gone). It will be painful, but you will just
have to help git out by moving any changes around manually.
Note compatibility.rb. It ensures that any function renames or removals don't
break anything. We're pretty serious about backwards compatibility. And that's
because we encourage you to hack around with the innards. And we couldn't do
that if we would then just make stuff disappear behind your back.
|
|
Accept any options that `brew deps` accepts.
Default to `--all` to preserve previous behaviour.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
1. Fix a misspelled variable to avoid shell namespace pollution
2. Remove a bogus completion (the 'brew xo' one)
3. Add missing tab completion code for
- Several arguments/commands (options, --cellar etc.)
- Aliases (e.g. home and homepage)
- 'brew edit' complete to all formulae, not just installed ones
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
i.e. `--force --debug --use-llvm --ignore-dependencies --HEAD`
Additionally:
* Use a cleaner `if` block in install options completion case.
* De-dupe options for subsequent completion (e.g. stop offering --foo once
--foo option has been used).
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
To trigger the option autocompletion, type:
brew install foo --[tab][tab]
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
|
|
|
|
|
|
We shouldn't ever really have these but better to be safe than sorry.
|
|
|
|
|
|
* Urls for Git Commits need to be between 4-40 not 40.
For example:
https://github.com/mxcl/homebrew/commit/805a
https://github.com/mxcl/homebrew/commit/805
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
We were checking that at least one URL argument was added but
the --install parameter was also counted in that.
|
|
|
|
|
|
Move all documented "external commands" up with the resto f the commands,
as these will all be built-in commands after the next code re-org.
|
|
Also, revise main man page, and update brew-man command to handle
multiple input files.
|
|
|
|
|
|
|