aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2014-08-16Use the build accessor rather than metaprogrammingJack Nagel
2014-08-16Define the test_defined? method dynamicallyJack Nagel
2014-08-16Use the keg_only_reason instance method in keg_only?Jack Nagel
2014-08-16fetch: retry the download on a failure.Mike McQuaid
2014-08-16Simplify cxxstdlib_check implementationJack Nagel
The cxxstdlib_check method currently only supports one value, so we can just define the accompanying instance method when necessary. If we ever add more options we can back it with a data structure.
2014-08-16Remove the universal accessor from BuildOptionsJack Nagel
BuildOptions is now immutable (finally).
2014-08-14Remove two more unnecessary default argumentsJack Nagel
2014-08-14Fix mktmp to be generic as-per SUS/BSD.xxxajk
Closes #31586. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-08-14Use the as_flags method instead of mapJack Nagel
2014-08-14Use the Enumerable implementation of include?Jack Nagel
2014-08-13Avoid hardcoding the class nameJack Nagel
2014-08-13More idiomatic way to combine arraysJack Nagel
2014-08-13Remove Options#concatJack Nagel
2014-08-13Simplify build_argvJack Nagel
2014-08-13Simplify tab test setupJack Nagel
2014-08-13Drop unnecessary parens in testsJack Nagel
2014-08-13Drop unnecessary to_a calls in options testsJack Nagel
2014-08-13Replace Options.coerce with an alternate constructorJack Nagel
2014-08-13Remove unused branches from Options.coerceJack Nagel
2014-08-13Options is no longer used directly by BuildOptionsJack Nagel
2014-08-13Set methods on Options already return Options instancesJack Nagel
2014-08-13Always pass an Options instance to the BuildOptions constructorJack Nagel
2014-08-13Only store strings in the tab objectJack Nagel
2014-08-13Revert "Always pass an Options instance to the BuildOptions constructor"Mike McQuaid
This reverts commit e143bcef259ca76b2124e6e73bd9bdf872418723. Closes #31557. Closes #31559. Closes #31561. Closes #31562.
2014-08-13Revert "Set methods on Options already return Options instances"Mike McQuaid
This reverts commit 4d1464c246861f7aedc355cb5f6360370d05114e.
2014-08-13Revert "Options is no longer used directly by BuildOptions"Mike McQuaid
This reverts commit 1c05bc0238aa1abf7d5542b8afa11ead2bee66a8.
2014-08-13Revert "Remove unused branches from Options.coerce"Mike McQuaid
This reverts commit cee42c339e7632eab15111e2c4e6c121ace6f9e2.
2014-08-13Revert "Replace Options.coerce with an alternate constructor"Mike McQuaid
This reverts commit 8d2ef974a3a87bf4207f71ccb8a7b4776e16a016.
2014-08-13Revert "Drop unnecessary to_a calls in options tests"Mike McQuaid
This reverts commit 6f29c36aed9d951499146054a4caca702fa33d1a.
2014-08-13Drop unnecessary to_a calls in options testsJack Nagel
2014-08-12Replace Options.coerce with an alternate constructorJack Nagel
2014-08-12Remove unused branches from Options.coerceJack Nagel
2014-08-12Options is no longer used directly by BuildOptionsJack Nagel
2014-08-12Set methods on Options already return Options instancesJack Nagel
2014-08-12Always pass an Options instance to the BuildOptions constructorJack Nagel
2014-08-12Clarify keg-only caveatsMisty De Meo
2014-08-12Set the remote config manuallyJack Nagel
See 5cd6b35 and 8eefd4e.
2014-08-11Deep copies of the build object are no longer neededJack Nagel
2014-08-11Replace the build object rather than mutate itJack Nagel
2014-08-11Allow build to be set externallyJack Nagel
2014-08-11formula_installer: check for recommended/optional.Mike McQuaid
build.without? seemingly always returns true for requirements that are neither recommended nor optional so check these before deciding not to install a default formula. Closes #31511.
2014-08-11formula_installer: default_formula using build.Mike McQuaid
Use the build options instead of whether the requirement is optional to work out if it is needed. This handles the case of an optional requirement becoming needed because it's a dependency for another formula. Closes #31476.
2014-08-10Use public api when adding legacy optionsJack Nagel
2014-08-10Stop exposing defined options from the build objectJack Nagel
2014-08-10options.each only yields one argument to the blockJack Nagel
2014-08-10Disconnect defined options from the build objectJack Nagel
2014-08-10Remove user-defined options method after evaluationJack Nagel
Now we can use the superclass options method for our own purposes.
2014-08-10Handle legacy options in the method_added hookJack Nagel
We only need to process the legacy options at load time, not each time the class is instantiated, and only when there is an options method defined.
2014-08-10Add a test for legacy optionsJack Nagel
2014-08-10Revert "formula_installer: fix reqs default formulae."Mike McQuaid
This reverts commit 435092ae0521e79d8ea21c8d4708031e3b4b17a3.