How to create formula for macOS & linux? #3580
-
|
Hi, I'm new to writing formulas in Homebrew. I've tried various configurations, including setting multiple URLs for different platforms using I'd appreciate any tips on how to make it possible. Here is my current formula for one of my tools. It currently only includes macOS as I couldn't figure out how to include a linux I should mention that when I tried to use the above syntax to use 2 different urls, I kept getting Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
You seem to use formula as casks. If you want to distribute precompiled binaries you should use a cask. |
Beta Was this translation helpful? Give feedback.
Almost all formulae in homebrew-core work for both platforms.