aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/software_spec.rb
AgeCommit message (Collapse)Author
2014-07-22Stop exposing the downloader as an attributeJack Nagel
2014-07-22Hide the downloader implementation from the installerJack Nagel
2014-07-18Add a factory method that accepts a formula objectJack Nagel
2014-07-18Ask the filename object for the prefixJack Nagel
2014-07-18Move bottle URL construction to the bottle objectJack Nagel
2014-07-18Move bottle filename construction to a classJack Nagel
2014-07-17Spell out "formula" in parameter nameJack Nagel
2014-07-16Rename fetch_bottle_for to fetch_checksum_forJack Nagel
2014-07-15Implement []= on BottleCollectorJack Nagel
2014-05-27Make some constant strings into actual constantsJack Nagel
We only need one copy of each of these strings, not ~7500.
2014-04-01Extract tag and checksum selection from DSL methodJack Nagel
2014-04-01Remove now unnecessary branching from bottle DSL methodsJack Nagel
2014-04-01Stop jumping through hoops to get at the collector objectJack Nagel
2014-03-18Set bottle download strategy directlyJack Nagel
We know what strategy we want, so going through DownloadStrategyDetector is wasted work. Now we can remove those patterns from the detector and have two fewer branches each time through.
2014-03-14Detect build-time deps from resource downloadsJack Nagel
2014-03-13Enable new patch implementation with compatibility layerJack Nagel
2014-03-13New patch implementation and DSLJack Nagel
This commit introduces a new patch implementation that supports checksums and caching. Patches are declared in blocks: patch do url ... sha1 ... end A strip level of -p1 is assumed. It can be overridden using a symbol argument: patch :p0 do url ... sha1 ... end Patches can be declared in stable, devel, and head blocks. This form is preferred over using conditionals. stable do # ... patch do url ... sha1 ... end end Embedded (__END__) patches are declared like so: patch :DATA patch :p0, :DATA Patches can also be embedded by passing a string. This makes it possible to provide multiple embedded patches while making only some of them conditional. patch :p0, "..."
2014-03-13Set bottle name so `brew fetch --retry` worksJack Nagel
2014-03-13Revert "software_spec: set a name for bottles."Mike McQuaid
This reverts commit 7cdcd13aa08ed91a73837b73dc185ad9147f7130.
2014-03-13software_spec: set a name for bottles.Mike McQuaid
Avoids errors on `brew fetch --retry` with bottles.
2014-03-10Wrap cellar compatibility check in a methodJack Nagel
2014-03-10Make bottle implementation more genericJack Nagel
2014-03-05Consolidate bottle defaults and remove a methodJack Nagel
2014-02-27Set owner ivar in SoftwareSpecJack Nagel
2014-02-22Remove download_strategy from SoftwareSpecJack Nagel
2014-02-21Remove downloader from FormulaJack Nagel
2013-12-09Silence more warningsJack Nagel
2013-12-05SoftwareSpec: compact array that may contain nilMisty De Meo
2013-12-05Use BottleCollector in Bottle SoftwareSpecMisty De Meo
2013-11-26SoftwareSpec: set resource version when missingJack Nagel
Closes Homebrew/homebrew#24695.
2013-10-28Bottle: handle legacy bottle OS tags.Mike McQuaid
Otherwise :mountainlion, :snowleopard in the history for CMake breaks bottle_filenames from versions for new CMake bottles.
2013-10-26C++11 support.Xiyue Deng
* Add options and ENV method to specify building in C++11 mode. - Set C++ compiler flags to enable C++11 mode. - To add options to support C++11 mode, a formula can now use option :cxx11 to provide "--c++11" option, and detect and enable C++11 support in install method using ENV.cxx11 if build.cxx11? Closes Homebrew/homebrew#22453.
2013-09-28Infer dependencies from download strategies and URLsJack Nagel
Closes Homebrew/homebrew#20849. Closes Homebrew/homebrew#22871.
2013-09-27SoftwareSpec: remove dead codeJack Nagel
2013-09-27Bottle: set version from stable spec.Mike McQuaid
2013-09-23Clean up SoftwareSpec and Resource initializersJack Nagel
2013-09-23Set owner of resources to SoftwareSpec objectJack Nagel
2013-09-23Set name of SoftwareSpec to owner nameJack Nagel
2013-09-23bottle: fix merging .rb files.Mike McQuaid
2013-09-22SoftwareSpec: add method for bottle checksums.Mike McQuaid
2013-09-21Move dependencies to SoftwareSpecJack Nagel
2013-09-21Move options to SoftwareSpecJack Nagel
2013-09-17Make spec-scoped resources override top-level resourcesJack Nagel
2013-09-17Move formula resources to SoftwareSpecJack Nagel
2013-09-17Reimplement SoftwareSpec on top of ResourceJack Nagel
2013-09-17Combine attr declarationsJack Nagel
2013-09-14Move SoftwareSpec to a separate fileJack Nagel