synrc / mad

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

add ez bundle #83

Open mihawk opened 5 years ago

mihawk commented 5 years ago

compatible ez bundle package, can be use to ship loadable plugins for your apps.

mihawk commented 5 years ago

similar to rabbitmq plugin, if i recall correctly

mihawk commented 5 years ago

here the code to load the ez bundle.

  ok = code:set_primary_archive(Path,ArchiveBin,FileInfo,fun escript:parse_file/1),
  ok = application:start(App),
mihawk commented 5 years ago
usage:
> cd path/to/app; mad ez