【 rebar-include-ext-libs-error 】
Your config file worked for me so I'd suggest doing the following:
- make sure you have git installed
- put the most recent build of rebar in your project directory
- use a Makefile like the one I described here
- delete your existing deps directory
- run make
If you want to use rebar directly instead of using make you can do:
1 2 |
|
Editor: you can use whatever you want. I used emacs for my first year of erlang, but I'm currently using gedit.
Version Control: I like git. It seems that most of the erlang community agrees (most projects are hosted on github).
Workflow: I'd recommend getting familiar with rebar.
Here is an example of a rebar-flavored Makefile:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
Here are some basic pointers:
- Put your unit tests in the same modules as the code they are testing. See the rebar wiki for details.
- Add {cover_enabled, true} to your rebar.config file. Every time you run make test you get a coverage report in HTML!
- Add your project's dependencies to your rebar.config and you can fetch and build them when you run make deps.
- Make sure to comment your code with edoc. If you do, rebar can build all of your docs when your run make doc.