aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2014-08-09Pull effective arch detection into a methodJack Nagel
2014-08-09Stop duping options when duping the build objectJack Nagel
The options collection cannot be mutated from the build object, so it can be shared among copies safely.
2014-08-08Better assertions in tab testJack Nagel
2014-08-08doctor: retire Mono warningMisty De Meo
We haven't actually had any complaints about this in awhile; it appears that cmake no longer picks up this specific framework. Refs #11030.
2014-08-08Read from the error pipe in a separate threadJack Nagel
If the build process tries to write more bytes than will fit in the pipe buffer, it will block until the parent process does a read. However, the parent process will only do a read after the child process has exited or died, leading to a deadlock. Fix this by doing the read in a separate thread.
2014-08-08Delegate homepage to the class instead of storing it on the instanceJack Nagel
2014-08-08Default description to the empty string in top-level option DSLJack Nagel
2014-08-08Remove another unnecessary default argumentJack Nagel
2014-08-07Avoid using setters in tab testsJack Nagel
2014-08-07Use predefined options for universal, cxx11, and 32-bit optionsJack Nagel
:universal and :cxx11 are now handled directly, so we don't need to always convert symbols to strings in this method. Symbols should be reserved for future use.
2014-08-07Move management of options collection to the spec objectJack Nagel
2014-08-07Default to the empty string instead of nilJack Nagel
2014-08-07Spell out the empty string instead of calling to_s on nilJack Nagel
2014-08-07Remove a defensive to_s callJack Nagel
This method is only used internally and we always pass strings.
2014-08-07Remove default argumentJack Nagel
This method is called in two places, always with two arguments.
2014-08-07Raise ArgumentError for argument errorsJack Nagel
2014-08-07Add more test coverage for option descriptionsJack Nagel
2014-08-07Prefer interpolationJack Nagel
2014-08-07Add a test for cxx11 option special caseJack Nagel
2014-08-06Use opt_binJack Nagel
2014-08-06Don't use Hash#firstJack Nagel
Fixes #31360.
2014-08-04utils: use the $stderr global variable.Federico Bond
For easier capturing. Closes #31303. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-08-03Add predicate methods to Tab to match BuildOptionsJack Nagel
2014-08-03Add inspect to CxxStdlibJack Nagel
2014-08-03Add inspect to CompilerFailureJack Nagel
2014-08-03Add another TODOJack Nagel
2014-08-03Eliminate a nil checkJack Nagel
2014-08-03Remove dead codeJack Nagel
2014-08-03Eliminate consideration of major_versionJack Nagel
The major version is implicit in the compiler name. Since the name is used when matching failures to compilers, we don't need to consider the major version separately.
2014-08-03Use a separate class for GNU compiler failuresJack Nagel
major_version is now only used internally by the failure object
2014-08-03Move compiler failure matching logic into failure objectJack Nagel
2014-08-03Rename compiler attribute to nameJack Nagel
2014-08-03Don't pass nil to fails_with?Jack Nagel
2014-08-03Remove an is_a checkJack Nagel
2014-08-02Simplify compatibility logicJack Nagel
2014-08-02Partially revert e1f97e2 to pass new test casesJack Nagel
2014-08-02Drop unnecessary parensJack Nagel
2014-08-02Use polymorphism to simplify stdlib compatibility checkJack Nagel
2014-08-02type is guaranteed to be a symbol by the factory methodJack Nagel
2014-08-02CxxStdlib should be immutable so remove writer methodsJack Nagel
2014-08-01Eagerly create and reuse cxx11 compiler failure objectsJack Nagel
2014-08-01Remove knowledge of DSL implementation from initializeJack Nagel
2014-08-01outdated: allow passing formulae as arguments.Mike McQuaid
If formulae names are passed as arguments check if just they are outdated. Additionally, return a failed code if they are outdated. This will hopefully be able to stop people complaining about the outdated error code as they can now just run e.g.: `brew outdated git && brew upgrade git` Closes #31242. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-08-01show cmd being executedAdam Vandenberg
2014-08-01add helpers for formula testsAdam Vandenberg
2014-07-31Hide the options data structure betterJack Nagel
2014-07-31Make options available on the spec objectsJack Nagel
2014-07-31Reduce direct accesses of the args collectionJack Nagel
2014-07-31Handle tap file renames that remove a file from the formula directoryJack Nagel
2014-07-30Use a module since the @build ivar is going away soonJack Nagel