synrc / mad

⚡ MAD: Managing Application Dependencies LING/UNIX
https://mad.n2o.dev
Other
173 stars 53 forks source link

Discover applications in lib_dirs #91

Closed xafizoff closed 5 years ago

xafizoff commented 5 years ago

I have all applications my project depends on, in apps directory. So I keep all libs in freeze. I have to specify in rebar.config every single sub dir to get it working:

{lib_dirs,["apps"]}.
{sub_dirs,["apps/cowlib","apps/cowboy","apps/ranch","apps/gproc","apps/kvs","apps/jsone","apps/nitro","apps/gen_smtp","apps/n2o",
  "apps/sh","apps/mad","apps/fs","apps/active", "apps/svg"]}.

Can this be avoided?

proger commented 5 years ago

Is it possible to rename apps to deps? Or set deps_dir instead?

xafizoff commented 5 years ago

Yes

proger commented 5 years ago

Awesome!