lfe-deprecated / lfetool

DEPRECATED - See:
https://github.com/lfe-rebar3/
Other
61 stars 19 forks source link

Can lfetool set up ERL_LIBS when it runs? #166

Open cinova opened 9 years ago

cinova commented 9 years ago

Right now, LFE project make files are littered with things like this:

ERL_LIBS=$(ERL_LIBS) $(LFETOOL) <cmd> ...

Can lfetool automatically do this? For instance, when lfetool is called:

lfetool <cmd> ...

can it set/export ERL_LIBS at the top its shell script by calling itself with ERL_LIBS=$ERL_LIBS:lfetool info erllibs``? This would save lots of boilerplace in Makefiles and shell scripts ...