aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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 Homebrew/homebrew#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
2014-07-30Remove confusing implicit options handlingJack Nagel
This code is supposed to allow depends_on "foo" => "with-bar" to work when foo has only a "without-bar" option. The options system was not designed to support this. Unfortunately, it was bolted on anyway. The implementation is extremely difficult to understand, and it only works for certain types of options, which is confusing from a user's point of view. Luckily, no formulae in core or the official taps rely on the behavior in order to function. It is hindering progress in improving this code, so I am removing it.
2014-07-30Use the tab in place of build during testsJack Nagel
2014-07-30Add without? to TabJack Nagel
2014-07-30Pass the build object into the TabJack Nagel
Since the Tab is written in the build process, the formula's build object will have the correct args attached to it already, so we don't need to reconstruct it.
2014-07-30Remove unused accessorJack Nagel
2014-07-30Simplify BuildOptions copy testsJack Nagel
2014-07-30Rename resource? to resource_defined?Jack Nagel
2014-07-30Handle nonexistent files when constructing ConflictErrorJack Nagel
Closes Homebrew/homebrew#31051.
2014-07-29Limit exposure of the options data structuresJack Nagel
2014-07-29--cc=: make GNU_GCC checks stricterMisty De Meo
Fixes Homebrew/homebrew#30668
2014-07-29Remove unused requireJack Nagel
2014-07-29Use the library path constant to get the library pathJack Nagel
2014-07-29Remove patch hacks from unpackJack Nagel
2014-07-29Remove patch hacks from auditJack Nagel
2014-07-29Simplify internal representation of patchesJack Nagel
- remove support for IO objects, since we no longer access ::DATA directly - since we don't need to support IO objects, use a separate class for string patches and stop wrapping strings in StringIO ojects
2014-07-29Decouple DATA patches from the executing scriptJack Nagel
2014-07-29Store test patches in constantsJack Nagel
2014-07-29Pathname.binreadAdam Vandenberg
2014-07-29brew-test-bot: handle changed formulae deps.Mike McQuaid
If both a formula and its dependencies are changed in a single pull request it'll fail because the bottle block may no longer be correct. Handle this case by ignoring bottle pour failures and fetching the source packages instead of bottles.
2014-07-28Fix up dep directories before activating ENV extensionsJack Nagel
2014-07-28Move the fixopt method into the Build classJack Nagel
2014-07-28Make Patch a module since it only has singleton methodsJack Nagel
2014-07-28Remove inheritance patch classesJack Nagel
2014-07-28Add test 1x1 images for formula test fixtures.Mike McQuaid
images
2014-07-27backport binwrite from Ruby 2.1+Adam Vandenberg
2014-07-27Rename write_binary to binwriteAdam Vandenberg
2014-07-27audit 'def test'Adam Vandenberg
Closes Homebrew/homebrew#31120