summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-05-01 22:57:29 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-05-01 22:57:29 -0400
commit99cd24f8a1fa2efc4ea8ad39a1877e400e3af28c (patch)
tree2a775c1c286c80af1afeeef61de0d6433a2874c2 /bootstrap
parent6192feea27c5ba1e93be1c43ffb55e50d13e4e97 (diff)
parent2e5496f5f5f3c39bd1e23b4601d1e89d4d2c9767 (diff)
Merge pull request #379 from tsloughter/rm_erlydtl
Remove erlydtl and replace with mustache
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap9
1 files changed, 4 insertions, 5 deletions
diff --git a/bootstrap b/bootstrap
index 9799647..a96483b 100755
--- a/bootstrap
+++ b/bootstrap
@@ -26,7 +26,7 @@ main(_Args) ->
{ok, State} = rebar3:run(["compile"]),
reset_env(),
os:putenv("REBAR_PROFILE", ""),
- %% Build erlydtl files (a hook on compile in the default profile) and escript file
+
DepsPaths = rebar_state:code_paths(State, all_deps),
code:add_pathsa(DepsPaths),
@@ -112,16 +112,15 @@ bootstrap_rebar3() ->
code:add_patha(filename:absname("_build/default/lib/rebar/ebin")).
setup_env() ->
- %% We don't need or want erlydtl or relx providers loaded yet
+ %% We don't need or want relx providers loaded yet
application:load(rebar),
{ok, Providers} = application:get_env(rebar, providers),
- Providers1 = Providers -- [rebar_prv_erlydtl_compiler,
- rebar_prv_release,
+ Providers1 = Providers -- [rebar_prv_release,
rebar_prv_tar],
application:set_env(rebar, providers, Providers1).
reset_env() ->
- %% Reset the env so we get all providers and can build erlydtl files
+ %% Reset the env so we get all providers
application:unset_env(rebar, providers),
application:unload(rebar),
application:load(rebar).