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

Package local formula #7

Open
W4RH4WK opened this issue Oct 28, 2015 · 4 comments
Open

Package local formula #7

W4RH4WK opened this issue Oct 28, 2015 · 4 comments

Comments

@W4RH4WK
Copy link

W4RH4WK commented Oct 28, 2015

I have installed encfs using a local formula with the following command:

$ brew install contrib/encfs.rb

but I am not able to package this using brew-pkg:

$ brew pkg --with-deps contrib/encfs.rb
==> Creating package staging root using Homebrew prefix /usr/local
Error: No available formula with the name "encfs"
@timsutton
Copy link
Owner

Have you tried just brew pkg --with-deps encfs? If I install encfs from the existing brew repo this command works. I should think it would work the same way even if it was installed from a local formula.

@W4RH4WK
Copy link
Author

W4RH4WK commented Oct 28, 2015

Yes, I have tried this but it didn't work either. I get the same error in this case. Seems like brew searches for a formula in its repository / taps (?).

$ brew pkg --with-deps encfs
Error: No available formula with the name "encfs"

I have created a tap for the moment, which works fine.

@timsutton
Copy link
Owner

I can see the use case for this, so if you feel like digging into what changes would be needed for local formulae to also work, that would be great!

@W4RH4WK
Copy link
Author

W4RH4WK commented Oct 28, 2015

I'll let you know if I come up with something, but no promises.

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

No branches or pull requests

2 participants