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

Support installing on OTP27 #9

Merged
merged 1 commit into from
Aug 11, 2024
Merged

Conversation

filmor
Copy link
Contributor

@filmor filmor commented Aug 11, 2024

Deletes the json.beam output file when running on a newer OTP version. This makes it feasible to unconditionally include this dependency.

@williamthome
Copy link
Owner

Hi, @filmor! It's nice to see you contributing here.

I'm just curious. Why should you not consider removing this lib if OTP >= 27?

@filmor
Copy link
Contributor Author

filmor commented Aug 11, 2024

The idea is to remove the compiled module if running OTP27 to not shadow the original one from the standard library. relx for example will raise an error if you have duplicate modules in the lookup path.

@filmor filmor marked this pull request as ready for review August 11, 2024 13:36
@williamthome
Copy link
Owner

I understood the proposal but wondered why someone would keep it on the dependencies list if the OTP json module is available.
Anyway, I'm for this. Keeping or removing it is now optional, and this LGTM.

Thanks! o/

@williamthome williamthome merged commit b6b3db3 into williamthome:main Aug 11, 2024
9 checks passed
@filmor filmor deleted the otp27 branch August 12, 2024 05:13
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