summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Jones <rj@metabrew.com>2015-04-23 12:51:00 +0100
committerRichard Jones <rj@metabrew.com>2015-04-23 12:51:00 +0100
commit8996084cb542b237e5c198a9518f9b107d619538 (patch)
treed3bb4435a6835124b2dcd30d5995a6609765e68e
parent3a63bec39fde05dcddf3f693dd780879662b599c (diff)
Re-add escript_incl_extra, for templates
Fixes regression from https://github.com/rebar/rebar3/commit/3a63bec39fde05dcddf3f693dd780879662b599c#diff-31d7a50c99c265ca2793c20961b60979L4 which meant listing templates doesn't work (rebar3 new help)
-rw-r--r--rebar.config3
1 files changed, 3 insertions, 0 deletions
diff --git a/rebar.config b/rebar.config
index 62c7085..83da0e5 100644
--- a/rebar.config
+++ b/rebar.config
@@ -23,6 +23,9 @@
{escript_top_level_app, rebar}.
{escript_name, rebar3}.
{escript_emu_args, "%%! +sbtu +A0\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/*", "."}, {"rebar/include/*", "."}]}.
{erl_opts,
[{platform_define, "R14", no_callback_support},