mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 11:09:55 +00:00
Add missing escriptize comments
This commit is contained in:
parent
e7e2bc17b2
commit
83879c22e1
2 changed files with 4 additions and 1 deletions
|
@ -4,6 +4,8 @@
|
||||||
{app_bin, ["priv/rebar"]}.
|
{app_bin, ["priv/rebar"]}.
|
||||||
{escript_shebang, "#!/usr/bin/env escript\n"}.
|
{escript_shebang, "#!/usr/bin/env escript\n"}.
|
||||||
{escript_emu_args, "%%! -noshell -noinput\n"}.
|
{escript_emu_args, "%%! -noshell -noinput\n"}.
|
||||||
|
%% escript_incl_extra is for internal rebar-private use only.
|
||||||
|
%% Do not use outside rebar. Config interface is not stable.
|
||||||
{escript_incl_extra, [{"priv/templates/*", "priv/templates"}]}.
|
{escript_incl_extra, [{"priv/templates/*", "priv/templates"}]}.
|
||||||
{erl_opts, [warnings_as_errors]}.
|
{erl_opts, [warnings_as_errors]}.
|
||||||
{xref_checks, []}.
|
{xref_checks, []}.
|
||||||
|
|
|
@ -120,7 +120,8 @@ copy_files(Config, AppName, Temp) ->
|
||||||
%% copy incl_apps files
|
%% copy incl_apps files
|
||||||
lists:foreach(fun(Src) -> ok = copy_files(Src, EbinDir) end, InclEbinDirs),
|
lists:foreach(fun(Src) -> ok = copy_files(Src, EbinDir) end, InclEbinDirs),
|
||||||
|
|
||||||
%% Look for a list of extra files to copy
|
%% Look for a list of extra files to copy.
|
||||||
|
%% For internal rebar-private use only. Do not use outside rebar.
|
||||||
InclExtr = rebar_config:get_local(Config, escript_incl_extra, []),
|
InclExtr = rebar_config:get_local(Config, escript_incl_extra, []),
|
||||||
lists:foreach(fun({Src, Dst}) ->
|
lists:foreach(fun({Src, Dst}) ->
|
||||||
copy_files(Src, filename:join(Temp, Dst))
|
copy_files(Src, filename:join(Temp, Dst))
|
||||||
|
|
Loading…
Reference in a new issue