Skip to content

How can I access a resource or file from one Homebrew formula in another's install? #1636

Discussion options

You must be logged in to vote

You should be able to use Formula["A"].share to get the path of A's share directory. Of course, B should depend on A.

Update: You can take a look at sng in homebrew/core for an example.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@aryairani
Comment options

@aryairani
Comment options

@nandahkrishna
Comment options

Answer selected by aryairani
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants