Best practice guide to write new formula #2574
-
I want to write a new formula. (For Texmaker specifically, which is based on Qt. But this question should be more generic.) I guess a good starting point is to use some other similar formula and deviate from that. How should I proceed now? I maybe would do this:
Is this the way to go? But then after the editing, I would switch back to the master branch? Is there any documentation on how this would be done? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
https://docs.brew.sh/Adding-Software-to-Homebrew has the documentation how to add a formula to Homebrew, which is roughly what you did. |
Beta Was this translation helpful? Give feedback.
-
Ok, I did the first PR: Homebrew/homebrew-core#90230 |
Beta Was this translation helpful? Give feedback.
-
Note that I had problems with Qt 6 installed via Homebrew. It uses the wrong prefix ( I wanted to post an issue but that doesn't work currently with a 400 error. |
Beta Was this translation helpful? Give feedback.
https://docs.brew.sh/Adding-Software-to-Homebrew has the documentation how to add a formula to Homebrew, which is roughly what you did.