aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim D. Smith2015-03-14 22:50:58 -0700
committerTim D. Smith2015-03-14 22:50:58 -0700
commit8f69a54276ed15d417df131df85cf7ea647270b3 (patch)
treee2e8c5316d73c6b7a737ce309dbe1f147ab473b2
parent1ebb60b6e5762beb26cfb62a8a1f4ef1692f6540 (diff)
downloadhomebrew-8f69a54276ed15d417df131df85cf7ea647270b3.tar.bz2
Mention homebrew-go-resources in cookbook
-rw-r--r--share/doc/homebrew/Formula-Cookbook.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/share/doc/homebrew/Formula-Cookbook.md b/share/doc/homebrew/Formula-Cookbook.md
index 72073959f..dab0ad10f 100644
--- a/share/doc/homebrew/Formula-Cookbook.md
+++ b/share/doc/homebrew/Formula-Cookbook.md
@@ -247,7 +247,7 @@ You can double-check which libraries a binary links to with the `otool` command
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)
-## Specifying gems, Python modules etc. as dependencies
+## Specifying gems, Python modules, Go projects, etc. as dependencies
Homebrew doesn’t package already packaged language-specific libraries. These should be installed directly from `gem`/`cpan`/`pip` etc.
@@ -266,9 +266,11 @@ class Foo < Formula
end
```
-See [jrnl](https://github.com/Homebrew/homebrew/blob/master/Library/Formula/jrnl.rb) for an example of a formula that does this well. The end-result means the user doesn't have to faff with `pip` or Python and can just run `jrnl`.
+[jrnl](https://github.com/Homebrew/homebrew/blob/master/Library/Formula/jrnl.rb) is an example of a formula that does this well. The end-result means the user doesn't have to faff with `pip` or Python and can just run `jrnl`.
-[This script](https://raw.githubusercontent.com/tdsmith/labmisc/master/mkpydeps) can help you generate resource stanzas for the dependencies of your Python application.
+[homebrew-pypi-poet](https://github.com/tdsmith/homebrew-pypi-poet) can help you generate resource stanzas for the dependencies of your Python application.
+
+Similarly, [homebrew-go-resources](https://github.com/samertm/homebrew-go-resources) can help you generate go\_resource stanzas for the dependencies of your go application.
If your formula needs a gem or python module and it can't be made into a resource you’ll need to check for these external dependencies: