mirror https://github.com/synrc/mad

UADuke 019b4ac5dc Improved version show. 6 years ago
doc 05e63844d9 Delete book.pdf 6 years ago
include 9d1a0e1e17 dialyzer support 6 years ago
man 777f6e646a n2o.dev 6 years ago
priv 777f6e646a n2o.dev 6 years ago
src c0fc30d79d cryptic 6 years ago
test fe1e953680 make mad regular OTP application back 11 years ago
.gitignore 3e28aef622 new mad 6 years ago
.travis.yml 9b98d2643e fix build 6 years ago
CNAME 2b47796c05 cname 8 years ago
LICENSE 6018824599 Update LICENSE 6 years ago
Makefile 019b4ac5dc Improved version show. 6 years ago
README.md af4b4f26ce Update README.md 6 years ago
escript.config 38142c7314 Added configurable escript emu_args: see 'escript.config' 8 years ago
index.html 777f6e646a n2o.dev 6 years ago
mad 9d1a0e1e17 dialyzer support 6 years ago
mad.cmd 0db1405f3a hide verbose functions 6 years ago
make.bat 61d7b85b5e imporst from @pal-alex: 6 years ago
rebar.config 387ab63573 mad_hooks: log every line of hook output as it goes 6 years ago

README.md

MAD: Manage Dependencies

Build Status

A simple rebar-compatible dependency manager and developer tool with plugins for Windows, Linux and Mac.

MAD

Goals

It shall:

  • be compatible with rebar configuration.
  • be as small and fast as possible.

Features

  • Support rebar.config
  • Support OTP releases and directory structure
  • Fast deps resolving and cycles detecting
  • Fast compilation
  • Small codebase: 1K LOC
  • DTL/YECC/LEEX/PORT/SCRIPT/APP/ERL compilation
  • BEAM bundles (single-file escriptized app)
  • BEAM releases (faster and smaller than RELX)
  • Start/Stop/Attach
  • Static files generation with node.js tools

Build

    $ make

And put mad to PATH.

Building OTP Release

Releases are bundles made by release_handler module of sasl applications. It has it own fat bootstripts along with erlang runtime included. This allows you to distribute you applications with copy deploy without Erlang prerequisite.

    $ ./mad app web sample
    $ cd sample
    $ ../mad dep com pla rel

Documentation

If you are new or need to determine whether the MAD architecture and philosophy is a fit for your project

  • Official MAD brochure PDF

Credits

  • Maxim Sokhatsky
  • Sina Samavati
  • Vladimir Kirillov