Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8626b3851f
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (12 sloc) 0.456 kb
%% THIS IS A GENERATED FILE, DO NOT EDIT DIRECTLY
-module(jxa_bootstrap).
-export([do_bootstrap/1]).
do_bootstrap([OutputFile, InputFile]) ->
{ok, [AST]} = file:consult(InputFile),
io:format("writing beam ~p~n", [OutputFile]),
case compile:forms(AST, [binary, from_core, return_errors, debug_info]) of
{ok , _, Result} ->
ok = file:write_file(OutputFile, Result);
Error ->
erlang:throw(Error)
end.
Jump to Line
Something went wrong with that request. Please try again.