Open ziopio opened 2 months ago
Checking deps/erlexec/rebar.config.script
I can see the source of the problem
%% vim:ts=2:sw=2:et
Vsn = string:strip(os:cmd("git describe --always --tags --abbrev=0 | sed 's/^v//'"), right, $\n),
maps:to_list(maps:merge(maps:from_list(CONFIG), #{edoc_opts => [{def, {vsn, Vsn}}]})).
@sylane Pinging you in case I am not able to sort this out until you are available.
This dinamic config script kicks-in only under mix, it does not give any problem in rebar3. If I edit the script I can workaround this obstacle, I do not know if there is a way to make rebar3 ignore this script.
In grisp_tools 2.7.0
erlexec
is introduced in the dependency tree, but somehow mix cannot build it.This is the generated file
_build/dev/lib/erlexec/mix.rebar.config
Line 8 is giving error, why is there that
edoc_opts
list? thevsn
string is a git error so no wonder it fails...