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

rebar instead of rake #2

Open
benbro opened this issue Dec 13, 2010 · 2 comments
Open

rebar instead of rake #2

benbro opened this issue Dec 13, 2010 · 2 comments

Comments

@benbro
Copy link

benbro commented Dec 13, 2010

Hi

Is it possible to use rebar instead of rake so we won't need to install ruby and rake just to build pure erlang code?
http://bitbucket.org/basho/rebar/wiki/Home

Thanks

@jvantuyl
Copy link
Owner

It's most certainly possible.

The one problem I have is that I typically split my components into different applications. For example, erlctl packages the example app as a separate application.

With rebar, it appears to be made to do releases and such from within a single application only. The documentation is rather sparse, so I'm unclear how to get it to do a release against multiple applications. Additionally, the erlctl script is made to use whichever erlang is on the PATH (via escript). At this time, I'm not sure exactly how to handle the release process so that erlctl finds the right release.

That said, I do want to use rebar. I mostly used rake because I needed something quick and dirty. I'll hit up the Basho guys and see what the best way to approach this would be. It probably won't happen fast, but it's on my list now.

@benbro
Copy link
Author

benbro commented Dec 14, 2010

Maybe you can split it to two separate packages, erlctl and ctl_ex?
That way you can use rebar for each package separately.
Any way, your use case is valid and if rebar doesn't support it they probably will be happy to implement it.

Not sure I understand the issue with several erlang installations on the same machine.

Thanks

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

No branches or pull requests

2 participants