Conversation
mix.exs is used instead of project.exs so that the neotoma task will be compiled. The downside is that there are now configs for two different build tools, elixir and rebar. Luckily, the rebar config is primarily for testing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
.pegfiles can be compiled to Erlang by runningmix compile.neotoma.mix.exsis used instead ofproject.exsso that mix will be used as the build tool and the neotoma task will be compiled. The downside is that there are now configs for two different build tools, mix and rebar. Luckily, the rebar config seems to be primarily for testing. I added aVERSIONfile so that the version number can be shared among the tools --neotoma.app.configcan be altered to reference that file rather thangit. I can make that change if you'd like.I also added package info for the Elixir package repo, hex.pm, but I wasn't sure if the info was correct, or if you'd like to upload it yourself.
Let me know if you're considering merging this pull request and I can add a "usage with elixir" note to the documentation.
Thanks!