206 Commits

Author SHA1 Message Date
Anatoli Babenia
56726cfbbb
Mention bump-formula-pr in update section 2021-08-27 06:24:56 +03:00
kraktus
111980932b Docs: remove bottle :unneeded mention
As per Homebrew/homebrew-core#75943
2021-07-25 20:25:18 +02:00
kraktus
c3bbd110d6 Docs: better flags for build/test commands
When creating a new formula, `--build-from-source` should be added. Adding the `--online` flag make the test more thorough.
2021-07-25 20:14:45 +02:00
Rylan Polster
2c22a258a0
docs: Separate terminology from cookbook and manpages 2021-06-07 10:58:14 -04:00
Rylan Polster
144c1c68c3
docs: add terminology to manpage 2021-06-05 14:49:51 -04:00
Tate Hanawalt
1aa4ca754f removed option reference from 'odie' example code snippet 2021-05-18 09:05:29 -05:00
Mike McQuaid
c6ac648c08
Merge pull request #11244 from Moisan/docs_shebang
docs: mention shebang rewrite in the formula cookbook
2021-05-10 16:11:12 +01:00
John Bampton
1691e615fe Fix spelling 2021-05-08 11:20:01 +10:00
Issy Long
681f5a5914
docs/Formula-Cookbook: Fix outdated HEAD hash syntax
- Using the previous syntax, `brew audit --strict` fails because this
  uses the old Ruby hash syntax.
2021-05-02 14:57:30 +01:00
Thierry Moisan
2487324214
Update docs/Formula-Cookbook.md
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-04-27 13:09:57 -04:00
Thierry Moisan
665b86453f
Update Formula-Cookbook.md 2021-04-27 11:39:32 -04:00
Thierry Moisan
5ed94c0d00
Update docs/Formula-Cookbook.md
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2021-04-26 20:43:46 -04:00
Thierry Moisan
87d9af7b4a
Update Formula-Cookbook.md 2021-04-26 20:34:33 -04:00
Thierry Moisan
539b2105d4
Update Formula-Cookbook.md 2021-04-26 16:11:08 -04:00
Thierry Moisan
a313b2d34f
Update docs/Formula-Cookbook.md
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-04-25 13:06:39 -04:00
Thierry Moisan
5b31a0623b
docs: mention shebang rewrite in the formula cookbook 2021-04-24 14:18:38 -04:00
Markus Reiter
b6ed8915e5
Add compatibility layer for AbstractDownloadStrategy#fetch. 2021-04-03 20:10:33 +02:00
Thomas L. Kjeldsen
72b29b2b2b Clarification on the use of :optional and :recommended 2021-01-20 16:54:10 +01:00
Thomas L. Kjeldsen
c10e18c06e
Replace :x11 symbol as it is no longer available
The :x11 symbol was deprecated in 87dd13aea6
2021-01-19 13:53:12 +01:00
Sam Ford
308390ba5b
Address feedback and expand documentation
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Co-authored-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com>
2021-01-11 17:51:41 -05:00
psobolewskiPhD
5159c8f6a6 Correct missing ? in build.with?("qt5")
Correct Messaging section:
missing ? in: build.with?("qt5")
2021-01-04 01:26:08 -05:00
Rylan Polster
5a1adeae06 docs: incorporate changes from code review
Co-Authored-By: Seeker <meaningseeking@protonmail.com>
Co-Authored-By: Sean Molenaar <smillerdev@me.com>
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
Co-Authored-By: Michka Popoff <3406519+iMichka@users.noreply.github.com>
2020-12-25 11:00:58 -05:00
Sean Molenaar
402600a94f
docs: add documentation for plists 2020-12-11 21:33:19 +01:00
Misty De Meo
7f5a94bbcb Formula cookbook: document with_env
The other syntax for setting `ENV` was added in #9013,
but this form remained undocumented.

Fixes #8648.
2020-11-27 09:08:10 -08:00
hyuraku
b193564050 how to set ENV for formula install 2020-11-04 22:49:33 +09:00
KazuakiM
c1dd69f0f7
Update Formula-Cookbook.md
RuboCop.
`Use the new Ruby 1.9 hash syntax.`
2020-10-18 14:12:00 +09:00
Rylan Polster
3c55d8e528 docs: update license documentation 2020-08-25 17:22:35 -04:00
Mike McQuaid
94274f7ffc
docs/Formula-Cookbook: improve license text.
Co-authored-by: Jonathan Chang <jchang641@gmail.com>
2020-08-04 11:17:23 +01:00
Mike McQuaid
fb0268da7e
license: handle "Public Domain".
Allow `:public_domain` to be used as a `license` value and ensure that
it's handled correctly by `brew info`, `brew audit` and `brew install`.
2020-08-04 10:47:41 +01:00
Rylan Polster
19007de6a2
Merge pull request #8165 from Rylan12/python-docs-update
docs: add reference to update-python-resources
2020-08-03 17:10:40 -04:00
Rylan Polster
1173d00bf6 Add links for determining more restrictive license 2020-08-03 10:17:26 -04:00
Rylan Polster
7c6cd247ee
Apply suggestions from code review
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-08-03 10:10:17 -04:00
Rylan Polster
9dc21953e8 docs: update-python-resources in Formula Cookbook 2020-08-02 18:17:32 -04:00
Rylan Polster
7fe6384ca5
Improve wording
Co-authored-by: Adrian Ho <the.gromgit@gmail.com>
2020-08-01 13:39:08 -04:00
Rylan Polster
df5aac8b09 docs: add license information 2020-07-31 21:32:36 -04:00
Sean Molenaar
a1e2b8d75c
docs: reference formula assertions for tests 2020-06-27 20:09:15 +02:00
Mike McQuaid
ac0665daff
Refer to default branch in links with HEAD
Anywhere we can use `blob/master` we can use `blob/HEAD` instead. This
will make life easier if we ever rename our default branch in future
(once/if Git and GitHub provides the necessary tooling to do so).
2020-06-25 11:38:40 +01:00
Mike McQuaid
b58fa4ebb1
Drop Mavericks support.
Companion to https://github.com/Homebrew/brew/pull/7698.

Provide better, `odeprecated` messaging for
`depends_on :macos => :mavericks` and otherwise just fix up the code
that relied on `:mavericks`.
2020-06-10 10:06:46 +01:00
Mike McQuaid
1eefc4c584
Adjust documentation for devel deprecation.
Update the documentation to be consistent with #7688.
2020-06-10 09:06:36 +01:00
Mike McQuaid
ea22276e32
Merge pull request #7596 from Homebrew/SMillerDev-patch-1
Specify the stance on mocks in test blocks
2020-05-19 08:23:16 +01:00
Caleb Xu
1cd5d508a1
docs: mention that bin.install can rename file 2020-05-19 00:34:24 -04:00
Sean Molenaar
957f318f2c
Specify the stance on mocks in test blocks 2020-05-18 18:28:40 +02:00
Dan Fabulich
8762fc2d7e Fix formatting issue in Formula Cookbook 2020-05-12 10:34:18 -07:00
dfabulich
67ff3c53fe Document how to use test fixtures 2020-05-12 00:27:12 -07:00
Thierry Moisan
967a2d2687
Update docs/Formula-Cookbook.md
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2020-04-08 09:21:38 -04:00
Thierry Moisan
a245eea674
docs/Formula-Cookbook.md: mention the use of 'bottle :unneeded' 2020-04-08 09:14:45 -04:00
Issy Long
6a200cb88a
docs: Fix double-spacing after full stop issues 2019-12-18 16:09:06 +00:00
R Primus
1e57ca70d3
Replace American spelling with British spelling 2019-10-30 18:03:31 +00:00
Mike McQuaid
9b0b10ca03
Formula Cookbook: use "caveats" name explicitly. 2019-06-20 11:05:28 +01:00
Sean Molenaar
c592da2996
Pick up suggestio
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2019-06-20 10:37:26 +02:00