Skip to content

add ez bundle#83

Open
mihawk wants to merge 5 commits intosynrc:masterfrom
mihawk:ez
Open

add ez bundle#83
mihawk wants to merge 5 commits intosynrc:masterfrom
mihawk:ez

Conversation

@mihawk
Copy link
Contributor

@mihawk mihawk commented Dec 10, 2018

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

@mihawk
Copy link
Contributor Author

mihawk commented Dec 10, 2018

similar to rabbitmq plugin, if i recall correctly

@mihawk
Copy link
Contributor Author

mihawk commented Dec 10, 2018

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
Copy link
Contributor Author

mihawk commented Dec 10, 2018

usage:
> cd path/to/app; mad ez

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant