Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new formula, 1password-cli, version 0.9.4 #41

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chances
Copy link

@chances chances commented Apr 8, 2020

No description provided.

@chances
Copy link
Author

chances commented Apr 8, 2020

Testing errors out locally and I'm lost about how to fix it.

$ brew test 1password-cli --verbose --debug
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/athrunsun/homebrew-linuxbinary/Formula/1password-cli.rb
Error: 1password-cli: wrong number of arguments (given 1, expected 0)
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:36:in `rescue in load_formula'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:33:in `load_formula'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:54:in `load_formula_from_path'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:136:in `load_file'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:126:in `klass'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:122:in `get_formula'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:332:in `factory'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:73:in `resolve'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/args.rb:98:in `block in resolved_formulae'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/args.rb:97:in `map'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/args.rb:97:in `resolved_formulae'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/dev-cmd/test.rb:41:in `test'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:110:in `<main>'

@athrunsun Any ideas?

@athrunsun
Copy link
Owner

athrunsun commented Apr 16, 2020

@chances I don't think homebrew has a name method, I've seen that in homebrew-cask formula, but NOT in homebrew formula.

After I remove the name "1password-cli" line and rename the file to one-password-cli.rb, everything went well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants