mad
mad copied to clipboard
add ez bundle
compatible ez bundle package, can be use to ship loadable plugins for your apps.
similar to rabbitmq plugin, if i recall correctly
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),
usage:
> cd path/to/app; mad ez