Current section
Files
Jump to
Current section
Files
src/eensy_dev_tools@packbeam.erl
-module(eensy_dev_tools@packbeam).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
-export([create/5]).
-export_type([create_module/0]).
-type create_module() :: string | undefined.
-file("/Users/raynerdls/ray.delossantos/apps/eensy-repos/packages/eensy_dev_tools/src/eensy_dev_tools/packbeam.gleam", 18).
-spec create(
binary(),
list(binary()),
gleam@option:option(boolean()),
binary(),
gleam@option:option(boolean())
) -> {ok, nil} | {error, eensy_dev_tools@error:error()}.
create(Output_path, Input_paths, Prune, Start_module, Include_lines) ->
packbeam_api_ffi:create_with_result(
Output_path,
Input_paths,
begin
_pipe = Prune,
gleam@option:unwrap(_pipe, true)
end,
Start_module,
begin
_pipe@1 = Include_lines,
gleam@option:unwrap(_pipe@1, true)
end
).