aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_compilers.rb
diff options
context:
space:
mode:
authorJack Nagel2013-03-13 02:07:01 -0500
committerJack Nagel2013-03-16 13:05:02 -0500
commitf8b4959742393499dda5bb48fd55ba107433b381 (patch)
treeb97ebf2719aea3211b4cedd800a39331a713ce59 /Library/Homebrew/test/test_compilers.rb
parent7104e20bde71a72a99497c8148ebeb10cf97dfde (diff)
downloadbrew-f8b4959742393499dda5bb48fd55ba107433b381.tar.bz2
Use a priority queue to select compilers
The existing case-statement with nested if-statements is gross and hard to extend. Replacing it with a priority queue simplifies the logic and makes it very easy to add new compilers to the fails_with system, which we will likely want to do in the future.
Diffstat (limited to 'Library/Homebrew/test/test_compilers.rb')
0 files changed, 0 insertions, 0 deletions