aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions/example-formula.rb
AgeCommit message (Collapse)Author
2015-08-29More API documentation.Mike McQuaid
And remove the documented stuff from the `example-formula.rb`. Closes Homebrew/homebrew#43241. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-12example_formula: document pkgshareDominyk Tiller
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-10Various edits for punctuation, grammar, spelling, etc.Larry Gilbert
Closes Homebrew/homebrew#40478. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-06-05Remove "An" from example-formula's descNikolaus Wittenstein
Formula descriptions shouldn't start with an article.
2015-05-25example-formula.rb has a 'desc'Nikolaus Wittenstein
Closes Homebrew/homebrew#39911. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-27example-formula: calling prefix.install_metafiles is unnecessaryXu Cheng
2015-03-05checksums: switch to sha256 for bottles and new formulaeDominyk Tiller
Closes Homebrew/homebrew#37164. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-09Update Example Formula documentation.Dominyk Tiller
I feel like we’re probably fighting a losing battle here, but here’s a bundle more updates to the example formula to cover some ground not already covered. Closes Homebrew/homebrew#36644. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-16Documentation UpdatesDominyk Tiller
Some minor changes to reflect Homebrew/homebrew#34989, and other bits and pieces. Closes Homebrew/homebrew#35023. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-11-18Documentation UpdatesDominyk Tiller
Mike probably wants to cast an eye over all of this, but in summary: In the Example Formula: * Updates with a revision example. * Updates with a mirror mirror (Whoa meta). * Replaces the bottles with more modern examples. * Adds the Yosemite binary dependency options. * Improves the plist documentation In the Bottles doc: * Modernises the expected bottle readout. * Adds double quotes. In the FAQ: * Updates the bottle language to reflect Yosemite’s arrival and the Bot’s new minimum OS bottle generation. In the Formula-Cookbook: * Adds a mega block on the OpenSSL situation in Homebrew, complete with examples and explanation. * Changes the X11 dependency example to optional to reflect Jack’s recently-expressed pattern in other formulae. * Explains why and how formulae are sometimes revisioned, and the mechanism behind that. * Updates the Ldapvi `otool` readout to reflect the new usage of OpenSSL. Setting a good example and all that. * Updates the Python language to match Tim’s new Python handling. * Updates the naming block to explain how Homebrew handles name conflicts, complete with examples. * Updates (a tiny bit) the sandbox creation in /tmp to reflect the current style. * Updates the chmod to move away from +x towards 0555 instead. * Labels the `enable-ham` option depreciated rather than old. Slightly firmer. * Updates the bottle block instructions to reflect Homebrew’s audit mechanism not crying about it locally. Closes Homebrew/homebrew#34275. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-10-26Import docs from wiki.Mike McQuaid
Closes Homebrew/homebrew#33211.
2014-10-21Correct description of how to fail testsJack Nagel
Fixes Homebrew/homebrew#33463.
2014-10-18Undocument UnsafeSubersionDownloadStrategyJack Nagel
2014-09-20Remove incorrect comment from example formulaJack Nagel
You can use any number of "/" operators, just as you can "+".
2014-07-11Fix Grammar in example-formula.rbImtiaz Majeed
Fix minor grammar: its -> it's Closes Homebrew/homebrew#30826. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2014-06-18Fix a typoJack Nagel
2014-06-04Remove unicode from example formulaJack Nagel
2014-06-04Remove stray unicodeJack Nagel
2014-05-19Remove example that is generally not requiredJack Nagel
2014-05-08Suggest current practice for autotools depsJack Nagel
2014-05-08Don't advertise using CLT.installed? in the DSL, it's slowJack Nagel
2014-05-08Don't advertise :clt dependency, it's a last resortJack Nagel
2014-03-22example-formula: remove double quotes, cleanup.Mike McQuaid
2014-03-21Stop advertising deprecated symbol dependenciesJack 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-03Remove another reference to subformulaeJack Nagel
2014-03-03Replace subformula example with a resource exampleJack Nagel
2014-02-27Use Formula[] in example formulaJack Nagel
2014-02-24Add example using a stable blockJack Nagel
2014-02-24Remove some bad practices from example formulaJack Nagel
2014-02-09Include buildpath info into example formulaWelton Rodrigo
The example formula had no information about how to find the current bulding directory. Now it has ;) Closes Homebrew/homebrew#26554. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-01-28Fix comment error in example formulaGuillaume Algis
Closes Homebrew/homebrew#26017. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-12-14Update docs, comment mxcl/homebrew refs.Mike McQuaid
2013-12-12example-formula: deprecate some Python features.Mike McQuaid
These will be removed soon so don't recommend them.
2013-12-07Fix typo in example formulaBenoit Daloze
Closes Homebrew/homebrew#25028. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-30typoSamyak Bhuta
Closes Homebrew/homebrew#24803. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-09-24add S3DownloadStrategyRaymie Stata
downloads tarballs from public and private S3 buckets Closes Homebrew/homebrew#22779. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-20Adding an example-formula.rb to show all featuresSamuel John
A huge cheat sheet. Kind of.