diff --git a/priv/templates/rebar.config.escript.tpl b/priv/templates/rebar.config.escript.tpl index c65ba0d..f6eeb65 100644 --- a/priv/templates/rebar.config.escript.tpl +++ b/priv/templates/rebar.config.escript.tpl @@ -1,12 +1,12 @@ {erl_opts, [no_debug_info]}. {deps, [ - {lfe, "2.1.3"}, - {ltest, "0.13.9"} + {lfe, "~> 2.1"}, + {ltest, "~> 0.13"} ]}. {plugins, [ - {rebar3_lfe, "0.4.11"} + {rebar3_lfe, "~> 0.4"} ]}. {provider_hooks, [ diff --git a/priv/templates/rebar.config.main.tpl b/priv/templates/rebar.config.main.tpl index 35c9ff7..f1b505d 100644 --- a/priv/templates/rebar.config.main.tpl +++ b/priv/templates/rebar.config.main.tpl @@ -1,12 +1,12 @@ {erl_opts, [debug_info]}. {deps, [ - {lfe, "2.1.3"}, - {ltest, "0.13.9"} + {lfe, "~> 2.1"}, + {ltest, "~> 0.13"} ]}. {plugins, [ - {rebar3_lfe, "0.4.11"} + {rebar3_lfe, "~> 0.4"} ]}. {lfe, [ diff --git a/priv/templates/rebar.config.release.tpl b/priv/templates/rebar.config.release.tpl index 5bde397..9faf5e1 100644 --- a/priv/templates/rebar.config.release.tpl +++ b/priv/templates/rebar.config.release.tpl @@ -1,12 +1,12 @@ {erl_opts, [debug_info]}. {deps, [ - {lfe, "2.1.3"}, - {ltest, "0.13.9"} + {lfe, "~> 2.1"}, + {ltest, "~> 0.13"} ]}. {plugins, [ - {rebar3_lfe, "0.4.11"} + {rebar3_lfe, "~> 0.4"} ]}. {provider_hooks, [ diff --git a/priv/templates/rebar.config.tpl b/priv/templates/rebar.config.tpl index 26e80b8..1a75b07 100644 --- a/priv/templates/rebar.config.tpl +++ b/priv/templates/rebar.config.tpl @@ -1,12 +1,12 @@ {erl_opts, [debug_info]}. {deps, [ - {lfe, "2.1.3"}, - {ltest, "0.13.9"} + {lfe, "~> 2.1"}, + {ltest, "~> 0.13"} ]}. {plugins, [ - {rebar3_lfe, "0.4.11"} + {rebar3_lfe, "~> 0.4"} ]}. {provider_hooks, [ diff --git a/priv/testing/rebar.config b/priv/testing/rebar.config index 15b48bc..e98a0a8 100644 --- a/priv/testing/rebar.config +++ b/priv/testing/rebar.config @@ -1,3 +1,3 @@ {plugins, [ - {rebar3_lfe, "0.4.11"} + {rebar3_lfe, "~> 0.4"} ]}. diff --git a/rebar.config b/rebar.config index 8fa1db6..b93086a 100644 --- a/rebar.config +++ b/rebar.config @@ -4,8 +4,8 @@ {lfe, "~> 2.1"} ]}. -{plugins, [ - {rebar_oscmd, "0.5.0"} +{project_plugins, [ + {rebar_oscmd, "~> 0.5"} ]}. {xref_checks,[