[erlang-questions] Compile "escript" file to a binary executable!

Chris Bernard cebernard@REDACTED
Fri Jun 18 21:25:00 CEST 2010


Zabrane,

The OTP doc says an escript can contain "Erlang source code, an  
inlined beam file or an inlined archive file."
http://www.erlang.org/doc/man/escript.html

For an example of an escript containing an inlined archive, check out  
how the excellent "rebar" bootstraps itself (an OTP application and  
release build tool).
http://bitbucket.org/basho/rebar/src/tip/bootstrap

Cheers,
Chris Bernard


On Jun 18, 2010, at 1:43 PM, zabrane Mikael wrote:

> Hi list,
>
> Is there a way(or even a hack) to compile an "escript" file to a  
> binary
> executable?
>
> Thanks !
> -- 
> Regards
> Zabrane



More information about the erlang-questions mailing list