man brew: Mention the example-formula.rb

This commit is contained in:
Samuel John 2013-08-20 15:37:31 +02:00
parent 78d436c68e
commit 11b49ca28f
2 changed files with 7 additions and 2 deletions

View File

@ -67,7 +67,9 @@ Note that these flags should only appear after a command.
Generate a formula for the downloadable file at <URL> and open it in the editor.
Homebrew will attempt to automatically derive the formula name
and version, but if it fails, you'll have to make your own template. The wget
formula serves as a simple example.
formula serves as a simple example. For a complete cheat-sheet, have a look at
`$(brew --prefix)/Library/Contributions/example-formula.rb`
If `--autotools` is passed, create a basic template for an Autotools-style build.
If `--cmake` is passed, create a basic template for a CMake-style build.

View File

@ -72,7 +72,10 @@ If \fB\-s\fR is passed, scrubs the cache, removing downloads for even the latest
.
.TP
\fBcreate <URL> [\-\-autotools|\-\-cmake] [\-\-no\-fetch] [\-\-set\-name <name>] [\-\-set\-version <version>]\fR
Generate a formula for the downloadable file at \fIURL\fR and open it in the editor\. Homebrew will attempt to automatically derive the formula name and version, but if it fails, you\'ll have to make your own template\. The wget formula serves as a simple example\.
Generate a formula for the downloadable file at \fIURL\fR and open it in the editor\. Homebrew will attempt to automatically derive the formula name and version, but if it fails, you\'ll have to make your own template\. The wget formula serves as a simple example\. For a complete cheat\-sheet, have a look at
.
.IP
\fB$(brew \-\-prefix)/Library/Contributions/example\-formula\.rb\fR
.
.IP
If \fB\-\-autotools\fR is passed, create a basic template for an Autotools\-style build\. If \fB\-\-cmake\fR is passed, create a basic template for a CMake\-style build\.