mirror https://github.com/synrc/mad
![]() |
10 years ago | |
---|---|---|
doc | 10 years ago | |
include | 10 years ago | |
priv | 10 years ago | |
src | 10 years ago | |
test | 11 years ago | |
.gitignore | 11 years ago | |
.travis.yml | 11 years ago | |
LICENSE | 10 years ago | |
Makefile | 10 years ago | |
README.md | 10 years ago | |
mad | 10 years ago | |
rebar.config | 10 years ago |
A simple rebar-compatible dependency manager.
It shall:
$ make
And put 'mad' to PATH.
Bundle is a gzipped archive of erlang beams of all dependecies along with directory structure of OTP-applications with priv directories. This allows you to pack all site inside single portable escript package able to run under Windows, Linux and Mac. Releases includes all current directory exept sources both code and data with all dependencies.
$ mad app "sample"
$ cd sample
$ mad deps compile plan bundle "web_app"
$ ./web_app
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 sample
$ cd sample
$ mad dep com pla release
$ _rel/sample/bin/sample console
Note: relx must be installed
OM A HUM