瀏覽代碼

Merge c883d7e332 into 6fb6b04228

pull/129/merge
David Robakowski 8 年之前
committed by GitHub
父節點
當前提交
dac03e583f
共有 1 個文件被更改,包括 5 次插入3 次删除
  1. +5
    -3
      rebar.config.script

+ 5
- 3
rebar.config.script 查看文件

@ -10,7 +10,6 @@
IsRebar3 = erlang:function_exported(rebar3, main, 1), IsRebar3 = erlang:function_exported(rebar3, main, 1),
PropErUrl = "git://github.com/manopapad/proper.git", PropErUrl = "git://github.com/manopapad/proper.git",
PortCompilerUrl = "git@github.com:blt/port_compiler.git",
IsDevEnv = begin IsDevEnv = begin
@ -20,7 +19,10 @@ IsDevEnv = begin
end. end.
Deps = if not IsDevEnv -> []; true -> Deps = if not IsDevEnv -> []; true ->
[{proper, ".*", {git, PropErUrl, {branch, "master"}}}]
case IsRebar3 of
true -> [proper];
false -> [{proper, ".*", {git, PropErUrl, {branch, "master"}}}]
end
end, end,
ErlOpts = if not IsDevEnv -> []; true -> ErlOpts = if not IsDevEnv -> []; true ->
@ -28,7 +30,7 @@ ErlOpts = if not IsDevEnv -> []; true ->
end, end,
Plugins = case IsRebar3 of Plugins = case IsRebar3 of
true -> [{pc, {git, PortCompilerUrl, {branch, "master"}}}];
true -> [pc];
false -> [rebar_gdb_plugin] false -> [rebar_gdb_plugin]
end, end,

Loading…
取消
儲存