Shell script as binary #6166
Unanswered
Mick235711
asked this question in
Writing Formulae/Casks
Replies: 1 comment 1 reply
-
It's a different issue than you're describing, and as far as I know the audit already skips non-binary files. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Output of
brew config
Output of
brew doctor
Description of issue
Sometimes, a cask can only provide a shell script as the entry point to the GUI, which is intended to be linked into
brew --prefix
and launched from the command line. Examples of this includeminecraft-server.rb
and other things that rely only on shimscripts, as well as real casks that only provide a script as a download.On its own, this is not a problem. However,
brew audit
will treat thebinary
argument as a real binary if it is the only artifact provided (i.e., noapp
or other artifact provided), which obviously fails for those shell scripts:What should we do if we want to add such casks in the future?
Beta Was this translation helpful? Give feedback.
All reactions