Skip to content

Rebar3 plugin that warns when a dep needs to be updated to match rebar.config

License

Notifications You must be signed in to change notification settings

Kuroneer/rebar3_warn_outdated_deps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rebar3_warn_outdated_deps

Rebar3 plugin that warns when a dep needs to be locked or updated to match rebar.config

Build

$ rebar3 compile

Use

Add the plugin to your rebar config:

{plugins, [
    {rebar3_warn_outdated_deps, {git, "https://github.com/Kuroneer/rebar3_warn_outdated_deps.git", {tag, "0.2.0"}}}
]}.

Then just call it directly in an existing application:

$ rebar3 warn_outdated_deps_abort
===> Verifying dependencies...
===> cowboy doesn't match rebar.config
===> tcpserver is a checkout
===> Mismatch found between local and config, abort

or set up a hook (its intended use):

{provider_hooks, [{pre, [{compile, warn_outdated_deps}]}]}.

or

{provider_hooks, [{pre, [{compile, warn_outdated_deps_abort}]}]}.

Authors

License

MIT License

About

Rebar3 plugin that warns when a dep needs to be updated to match rebar.config

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages