简体   繁体   中英

How to make release using rebar without erts?

如何使用不含erts的钢筋进行释放?

A release is a self packaged erlang runtime within your application, so i think you just can't.

But you can simply give your application directory with the ebin directory in it as a release.

rebar is a good thing for managing your Erlang prjects indeed. But there are always other options which comes for Erlanf/OTP in the box. Here you can read very good tutorial about other options: http://learnyousomeerlang.com/release-is-the-word

ps I think it is worth knowing how the same thing could be done in other way.

Relx is very good at packaging Erlang releases with lots of options, one being what you want: {include_erts, false}.

https://github.com/erlware/relx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM