Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ez bundle #83

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

add ez bundle #83

wants to merge 5 commits into from

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