Giter Site home page Giter Site logo

rebar_deps_graph's Introduction

Rebar Deps Graph

Generate a dependency graph with Rebar.

Install

In your rebar.config, add the following lines :

{deps, [{rebar_deps_graph, ".*",
         {git, "git://github.com/emedia-project/rebar_deps_graph"}}]}.

{plugins, [deps_graph_plugin] }.

That's all ;)

This plugin has been tested with rebar 2.3.0.

Usage

First, get the dependencies :

rebar get-deps

Then, use the grapg-deps command to generate the graph :

rebar graph-deps [graph=<file>]

Attribute graph allow you to specify an output file. If not present, the result will be send on the standard output. You can also use the deps_graph_file configuration in your rebar.config file. If both are present, the graph option will be use.

The output is a Graphviz file.

Example

The following image show the dependency graph of the emedia project.

An edge between a named node and a point indicate that the plugin was unable to retrieve the dependency for the given node. In this example, the dependencies for file monitor, cowling and ranch are unknown.

Here is another example for the Riak project.

Licence

This plugin is based on mapdeps.erl, licenced under the Apache License, Version 2.0.

Copyright (c) 2013 Basho Technologies, Inc.

Modifications by Grégoire Lejeune.

This project is provided to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

rebar_deps_graph's People

Contributors

glejeune avatar

Stargazers

Igor K avatar Luis Rascão avatar Vasilii Demidenok avatar Sergey Abramyan avatar Zvi avatar  avatar

Watchers

 avatar  avatar James Cloos avatar

Forkers

nivertech

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.