From 8f4a18c1f63cf45b502155e93097ecbdddbec798 Mon Sep 17 00:00:00 2001 From: David Robakowski Date: Mon, 12 Sep 2016 15:22:38 +0200 Subject: [PATCH 1/2] Fetch pc rather from hex.pm instead of GitHub --- rebar.config.script | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rebar.config.script b/rebar.config.script index 2159a10..0fe5564 100644 --- a/rebar.config.script +++ b/rebar.config.script @@ -10,7 +10,6 @@ IsRebar3 = erlang:function_exported(rebar3, main, 1), PropErUrl = "git://github.com/manopapad/proper.git", -PortCompilerUrl = "git@github.com:blt/port_compiler.git", IsDevEnv = begin @@ -28,7 +27,7 @@ ErlOpts = if not IsDevEnv -> []; true -> end, Plugins = case IsRebar3 of - true -> [{pc, {git, PortCompilerUrl, {branch, "master"}}}]; + true -> [pc]; false -> [rebar_gdb_plugin] end, From c883d7e3321e0ab165084240efe17754d929d7b8 Mon Sep 17 00:00:00 2001 From: David Robakowski Date: Mon, 12 Sep 2016 15:36:26 +0200 Subject: [PATCH 2/2] Fetch proper rather from hex.pm instead of GitHub --- rebar.config.script | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rebar.config.script b/rebar.config.script index 0fe5564..41dde11 100644 --- a/rebar.config.script +++ b/rebar.config.script @@ -19,7 +19,10 @@ IsDevEnv = begin end. Deps = if not IsDevEnv -> []; true -> - [{proper, ".*", {git, PropErUrl, {branch, "master"}}}] + case IsRebar3 of + true -> [proper]; + false -> [{proper, ".*", {git, PropErUrl, {branch, "master"}}}] + end end, ErlOpts = if not IsDevEnv -> []; true ->