I am unable to find any existing examples of using Erlang.mk as a build system with boss_db.
When I bootstrap Erlang.mk project, and just add boss_db as
DEPS += boss_db
and run make run
, Erlang prints that boss_db application started. But when I try to run boss_db:start([SomeOptions])
, suddenly, Erlang prints out error like exited with reason: call to undefined function aleppo:process_tokens
. If I manually add aleppo
to Makefile, it will work (but to actually USE boss_db I also have to add like poolboy
, which is already listed in boss_db dependencies).
I want to request a minimal working example of Erlang.mk + boss_db, because documentation really lacks it, and I dont want to use entire ChicagoBoss for my needs.
Thanks in advance.