mirror of
https://github.com/correl/rebar.git
synced 2024-11-30 11:09:56 +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"]}.
|
||||
{escript_shebang, "#!/usr/bin/env escript\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"}]}.
|
||||
{erl_opts, [warnings_as_errors]}.
|
||||
{xref_checks, []}.
|
||||
|
|
|
@ -120,7 +120,8 @@ copy_files(Config, AppName, Temp) ->
|
|||
%% copy incl_apps files
|
||||
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, []),
|
||||
lists:foreach(fun({Src, Dst}) ->
|
||||
copy_files(Src, filename:join(Temp, Dst))
|
||||
|
|
Loading…
Reference in a new issue