Git Product home page Git Product logo

anvl's Introduction

ANVL

Anvl is a parallel, scalable and (somewhat) rebar3-compatible build system.

Planned features include:

  • [X] Parsing rebar.config
  • [ ] Plugin support
  • [ ] Build graph visualization
  • [ ] Build profiling tools
  • [ ] Erlang compilation
  • [ ] Git dependencies
  • [ ] Hex dependencies
  • [ ] Dialyzer
  • [ ] Common test
  • [ ] Eunit
  • [ ] Relx integration
  • [ ] Escriptize

Why reinvent rebar3?

We all love rebar3. It is opiniated, compliant with the OTP design principles, declarative, and easy to use. Unfortunately, it has some shortcomings that lie deep within its architecture:

  1. Granularity of the build targets. Minimal build unit in rebar3 is not the beam file or the Erlang application, but “provider”. (Providers include compile, get_deps, etc.). This destroys parallelism, e.g. it’s impossible to compile one app while another one is being downloaded
  2. Global mutable state. Rebar3 providers rely on the global state, which further limits parallelism
  3. Error handling. rebar3 crashes with a BEAM dump on innocuous configuration errors

Limitations

Incompatibilities with rebar3

While anvl strives to understand more or less complex rebar.config files, some things will never work:

  • Plugins. anvl plugin interface is fundamentally different from rebar’s

OTP version support

Anvl only works with OTP 21+.

Attribution

This project contains heavily refactored code originating from rebar project, written by its respective authors.

anvl's People

Contributors

k32 avatar

Watchers

 avatar

Forkers

k32

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.