diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-06-21 20:44:04 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-06-21 20:44:04 -0400 |
commit | 11d7a07064d044f2383fc699d7180ea6830b1299 (patch) | |
tree | ea1c2c7c236b754d2048195f9efb564748ee2e98 /rebar.config | |
parent | 4acd8e01510a6ff387dfae499c1d2e863945d3f7 (diff) | |
parent | 6d3a107056833e4360baf0354774506a4ff2bec0 (diff) |
Merge pull request #532 from tsloughter/pkgs_for_deps
Updates some deps, moves to packages for deps and adds dialyzer profile
Diffstat (limited to 'rebar.config')
-rw-r--r-- | rebar.config | 48 |
1 files changed, 23 insertions, 25 deletions
diff --git a/rebar.config b/rebar.config index d68f195..ab679dc 100644 --- a/rebar.config +++ b/rebar.config @@ -2,21 +2,11 @@ %% ex: ts=4 sw=4 ft=erlang et {deps, [ - {erlware_commons, "", - {git, "https://github.com/erlware/erlware_commons.git", - {branch, "master"}}}, - {providers, "", - {git, "https://github.com/tsloughter/providers.git", - {tag, "v1.4.0"}}}, - {relx, "", - {git, "https://github.com/erlware/relx.git", - {branch, "master"}}}, - {mustache, ".*", - {git, "https://github.com/soranoba/mustache.git", - {tag, "v0.3.0"}}}, - {getopt, "", - {git, "https://github.com/jcomellas/getopt.git", - {branch, "master"}}}]}. + {erlware_commons, "0.12.0"}, + {providers, "1.4.1"}, + {getopt, "0.8.2"}, + {bbmustache, "1.0.1"}, + {relx, "2.1.0"}]}. {escript_name, rebar3}. {escript_emu_args, "%%! +sbtu +A0\n"}. @@ -41,8 +31,9 @@ {erl_opts, [debug_info]} ]}, - %% We don't want erlydtl to attempt to run on the first compile pass to bootstrap - {bootstrap, []} + {bootstrap, []}, + + {dialyze, [{erl_opts, [debug_info]}]} ]}. %% Overrides @@ -51,16 +42,23 @@ {platform_define, "^R1[4|5]", deprecated_crypto}, no_debug_info, warnings_as_errors]}, - {deps, []}, {plugins, []} + {deps, []}, {plugins, []}, + {profiles, [{dialyze, [{erl_opts, [debug_info]}]}]} ]}, - {override, mustache, [ - {erl_opts, [{platform_define, "^[0-9]+", namespaced_types}, - no_debug_info]}, - {deps, []}, {plugins, []}]}, - {override, getopt, [{erl_opts, [no_debug_info]}]}, - {override, providers, [{erl_opts, [no_debug_info]}]}, + {override, bbmustache, [ + {erl_opts, [no_debug_info, + {platform_define, "^[0-9]+", namespaced_types}]}, + {deps, []}, {plugins, []}, + {profiles, [{dialyze, [{erl_opts, [debug_info]}]}]} + ]}, + {override, getopt, [{erl_opts, [no_debug_info]}, + {profiles, [{dialyze, [{erl_opts, [debug_info]}]}]}]}, + {override, providers, [{erl_opts, [no_debug_info]}, + {profiles, [{dialyze, [{erl_opts, [debug_info]}]}]}]}, {override, relx, [{erl_opts, [{platform_define, "^[0-9]+", namespaced_types}, {platform_define, "^R1[4|5]", deprecated_crypto}, no_debug_info, - warnings_as_errors]}]} + warnings_as_errors]}, + {profiles, [{dialyze, [{erl_opts, [debug_info]}]}]} + ]} ]}. |