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
[Elixir] Released package didn't include the gherkin-languages.json file #1293
Conversation
@aslakhellesoy , when you have time could you review this and publish a new version please? Thank you! |
Should I close #1281 then? |
Oh wow sorry I completely missed your PR there! I'd personally suggest the default folder structure its priv folder. If everything is fine for @aslakhellesoy , this could be merged, published and it should be fixed then. |
Btw, @WannesFransen1994, Have you tried this patch when building/running a release? For our case, gherkin is being parsed in prod, no just dev/test environments. I'm not sure about the implications of using directly |
Thank you for pointing that out @alvivi . I've played around with it on https://github.com/WannesFransen1994/ex_gherkin , it worked with just the I've just looked at your PR a bit more, do you think that the |
Yeah, for
Is going to be faster and increase the memory footprint a little bit for sure (well, that memory is going to be used anyway). Not sure for this use case is going to make a difference or not (Is just bootstrap time). But no, the main reason for me was to ease distribution. I think this is a common approach for immutable data, for example, https://github.com/elixir-plug/mime (which includes a |
Just confirmed that running it in a release isn't an issue. In the release map, the dependencies their Did stumble upon an error though, regarding the I see your point. As you stated, the memory is going to be used anyway so I'll adjust it as well. Thanks for taking the time to explain this! |
Missing file, moved to priv folder.