How do I create a formulae to install a bash shell script? #5388
Unanswered
etrigan63
asked this question in
Writing Formulae/Casks
Replies: 1 comment 6 replies
-
Difficult to troubleshoot without seeing the formula. Most likely you need |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
Tried to write a formulae to install betterdiscordctl from https://github.com/bb010g/betterdiscordctl/archive/refs/tags/v2.0.1.tar.gz
Got the following errors running the audit:
HOMEBREW_NO_INSTALL_FROM_API=1 brew audit --new betterdiscordctl
'Error: invalid attribute for formula 'betterdiscordctl': version (nil)
Warning: Removed Sorbet lines from backtrace!
Rerun with
--verbose
to see the original backtrace/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:330:in
validate_attributes!' /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:255:in
initialize'/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:570:in
new' /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:570:in
get_formula'/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:794:in
get_formula' /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:1009:in
factory'/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:146:in
block in load_formula_or_cask' /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/api.rb:197:in
with_no_api_env'/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/api.rb:206:in
with_no_api_env_if_needed' /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:138:in
load_formula_or_cask'/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:81:in
block in to_formulae_and_casks' /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:79:in
each'/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:79:in
flat_map' /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:79:in
to_formulae_and_casks'/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:109:in
to_formulae_and_casks_with_taps' /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/dev-cmd/audit.rb:156:in
block in run'/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/api.rb:197:in
with_no_api_env' /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/dev-cmd/audit.rb:126:in
run'/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:92:in `
Please report this issue:
https://docs.brew.sh/Troubleshooting
Beta Was this translation helpful? Give feedback.
All reactions