summaryrefslogtreecommitdiff
path: root/src/rebar_prv_new.erl
diff options
context:
space:
mode:
authoralisdair sullivan <alisdairsullivan@yahoo.ca>2017-01-27 12:32:46 -0800
committerGitHub <noreply@github.com>2017-01-27 12:32:46 -0800
commitdfd11b7ae3b81e3c553c9607cd8af27b473f5f63 (patch)
tree92a39fd54acc8a4eba7ee40e090e5ddfbc49dd0c /src/rebar_prv_new.erl
parentac8ee44f18a7b94ac86b27e33b3573ef389707a7 (diff)
parentf94b7a0d65052cf0ae4b1a5e424af1a0013430dc (diff)
Merge pull request #1449 from ferd/fix-localinstall-tpl-path
See template local install same builtin as escript
Diffstat (limited to 'src/rebar_prv_new.erl')
-rw-r--r--src/rebar_prv_new.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rebar_prv_new.erl b/src/rebar_prv_new.erl
index 064315e..152a56e 100644
--- a/src/rebar_prv_new.erl
+++ b/src/rebar_prv_new.erl
@@ -132,11 +132,14 @@ show_template({Name, Type, Location, Description, Vars}) ->
format_vars(Vars)]).
format_type(escript) -> "built-in";
+format_type(builtin) -> "built-in";
format_type(plugin) -> "plugin";
format_type(file) -> "custom".
format_type(escript, _) ->
"built-in template";
+format_type(builtin, _) ->
+ "built-in template";
format_type(plugin, Loc) ->
io_lib:format("plugin template (~s)", [Loc]);
format_type(file, Loc) ->