Closed whatyouhide closed 2 weeks ago
nor is one installed by any of the commands in the README.
Actually, it is installed by make
the first time you will call any task that need rebar (vs calling rebar directly).
https://github.com/dnsimple/erldns/blob/5ce0b25acdee06b7d6bf4387a5ac680ceb39a9bb/Makefile#L1-L7
Perhaps this part should be made more explicitly documented in our repo.
I suspect rebar
should work with both local and global setups, whereas the opposite is not true (aka ./rebar
). Correct?
From this line
REBAR:=$(shell which rebar3 || echo ./rebar3)
then yeah it looks like a globally-installed rebar3
would take precedence over the locally-installed, which is what we want I think. I'll rework this in a different PR 🙃
There is no
rebar3
executable in this repository, nor is one installed by any of the commands in the README. Some of us use therebar3
executable that is installed by Hex, others use theasdf
plugin, and this section from Rebar's official website even says:So I'd say we instruct folks to do
rebar3
instead of./rebar3
. Thoughts?