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

Use temporary directory instead of build_path #6

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

sleipnir
Copy link

Hi @drowzy I fell into an atypical situation where I'm running protobuf-generate inside a container and I received the undefined error for Mix.Project.build_path/0. This pr solves this problem by using a temporary directory to generate the protobufs.

@drowzy drowzy merged commit 671e6cf into drowzy:main Jul 4, 2024
1 check passed
@sleipnir
Copy link
Author

sleipnir commented Jul 4, 2024

Thank you @drowzy

@sleipnir
Copy link
Author

sleipnir commented Jul 8, 2024

Hi @drowzy Would it be possible to generate a new version of the hex package with this change? Unfortunately, in my software I can only use dependencies downloaded directly from hex and not from github. This ends up stopping me a little

@sleipnir
Copy link
Author

ping @drowzy

@sleipnir sleipnir deleted the fix/use-tmp-instead-of-build-path branch July 11, 2024 18:35
@sleipnir
Copy link
Author

sleipnir commented Aug 7, 2024

Hey @drowzy any news about new releases?

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