Conversation
- Makefile - Remove the need for the rebar3 application in the project folder. Added download over the network. - ./make_doc - Fix missing path error while running ./make_doc - Update name of edoc doclet module from "doclet" to "edoc_doclet" - ./edown_make - Fix EDoc warnings related to depricated @SPEC tag. - src/edown_make.erl - Fix EDoc warnings related to depricated @SPEC tag. - src/edown_doclet.erl - Fix EDoc warnings related to depricated @SPEC tag. - rebar.config - Add settings for hex.pm documentation documentation. - README.md - Add information related to an option of ExDoc generation of project source code. - Add escape marker to backticks.
|
Have you tried building this from scratch? |
|
Yes, I tried. |
|
Well, automatically downloading The priority order should be:
Also, the Erlang node started to do the download tends to issue SSL. These should be silenced if expected. Perhaps using an escript would be cleaner? |
|
Perhaps you could break out the |
Of course, this is one of the solution.
It is possible to make as a Bash script. Let's add this solution what you think? |
Rewrite Makefile using Make utility and Bash script capabilities. Implement suggested priority order finding and launching of `rebar3` (script tested using Linux (Ubuntu)): * use ./rebar3 (if present) * use `rebar3` in path * download `rebar3` from `s3` The Erlang downloads `rebar3` without warning messages.
Edited the BUILDER variable definition. Removed unnecessary export.
Simplify script. Remove OS dependent checking.
List of modifications
Makefile
./make_doc./edown_make@spectag.src/edown_make.erl@spectag.src/edown_doclet.erl@spectag.rebar.configREADME.md