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

added mix neotoma task and mix.exs for elixir #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jtmoulia
Copy link

.peg files can be compiled to Erlang by running mix compile.neotoma.

mix.exs is used instead of project.exs so 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 a VERSION file so that the version number can be shared among the tools -- neotoma.app.config can be altered to reference that file rather than git. 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!

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.
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.

1 participant