[英]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. 发布是应用程序中的自打包erlang运行时,所以我认为您做不到。
But you can simply give your application directory with the ebin directory in it as a release. 但是,您可以简单地为应用程序目录提供其中的ebin目录作为发行版。
rebar is a good thing for managing your Erlang prjects indeed. 钢筋对于管理您的Erlang项目确实是一件好事。 But there are always other options which comes for Erlanf/OTP in the box.
但是,包装盒中总是有Erlanf / OTP附带的其他选项。 Here you can read very good tutorial about other options: http://learnyousomeerlang.com/release-is-the-word
在这里您可以阅读有关其他选项的很好的教程: 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}. Relx非常擅长打包带有许多选项的Erlang版本,其中一个就是您想要的:{include_erts,false}。
https://github.com/erlware/relx https://github.com/erlware/relx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.