aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions/example-formula.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Contributions/example-formula.rb')
-rw-r--r--Library/Contributions/example-formula.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/Library/Contributions/example-formula.rb b/Library/Contributions/example-formula.rb
index 435b6c58d..537b9c445 100644
--- a/Library/Contributions/example-formula.rb
+++ b/Library/Contributions/example-formula.rb
@@ -12,7 +12,7 @@ class ExampleFormula < Formula
desc "Example formula" # shows up in `brew info`, and can be searched with `brew search --desc`.
homepage "https://www.example.com" # used by `brew home example-formula`.
revision 1 # This is used when there's no new version but it needs recompiling for another reason.
- # 0 is default & unwritten.
+ # 0 is default & unwritten.
# The URL of the archive. Prefer https (security and proxy issues):
url "https://packed.sources.and.we.prefer.https.example.com/archive-1.2.3.tar.bz2"
@@ -72,7 +72,6 @@ class ExampleFormula < Formula
depends_on "pixman"
end
-
## Options
# Options can be used as arguments to `brew install`.
@@ -120,7 +119,6 @@ class ExampleFormula < Formula
keg_only :provided_by_osx
keg_only "because I want it so"
-
## Dependencies
# The dependencies for this formula. Use strings for the names of other
@@ -184,7 +182,6 @@ class ExampleFormula < Formula
# If this formula conflicts with another one:
conflicts_with "imagemagick", :because => "because this is just a stupid example"
-
## Failing with a certain compiler?
# If it is failing for certain compiler:
@@ -208,7 +205,6 @@ class ExampleFormula < Formula
sha256 "c6bc3f48ce8e797854c4b865f6a8ff969867bbcaebd648ae6fd825683e59fef2"
end
-
## Patches
# External patches can be declared using resource-style blocks.
@@ -399,7 +395,6 @@ class ExampleFormula < Formula
# `name` and `version` are accessible too, if you need them.
end
-
## Caveats
def caveats
@@ -416,7 +411,6 @@ class ExampleFormula < Formula
s
end
-
## Test (is optional but makes us happy)
test do
@@ -444,7 +438,6 @@ class ExampleFormula < Formula
# Failed assertions and failed `system` commands will raise exceptions.
end
-
## Plist handling
# Does your plist need to be loaded at startup?