Skip to content
Snippets Groups Projects
Commit 11b49ca2 authored by Samuel John's avatar Samuel John
Browse files

man brew: Mention the example-formula.rb

parent 78d436c6
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
......@@ -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\.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment