aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: e14ec9573b1230e156e20e2e8b96621c0adf4df1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[![Build Status](https://drone.io/github.com/erlware/relx/status.png)](https://drone.io/github.com/erlware/relx/latest)

# NAME

relx - A release assembler for erlang

# SYNOPSIS

relx [*options*] [*release-specification-file*]

# DESCRIPTION

Relx assembles releases for an Erlang/OTP release. Given a release
specification and a list of directories in which to search for OTP
applications it will generate a release output. That output depends
heavily on what plugins available and what options are defined, but
usually it is simple a well configured release directory.

    relx -c relx.config -l ~/my-dirs  --relname foo --relvsn 0.0.1 --target-spec myapp --target-spec getopt>=0.5.1 -o output-dir

The *release-specification-file* is optional but otherwise contains
additional specification information for releases.

# BUILDING

To build relx and generate a standalone escript executable:

    $ make

This creates the executable `relx`.

# OPTIONS

-r *STRING*, \--root *STRING*
:   Specify the root directory for the project (if different from cwd)

-n *STRING*, \--relname *STRING*
:   Specify the name for the release that will be generated

-v *STRING*, \--relvsn=*STRING*
:   Specify the version for the release

-g *STRING*, \--goals *STRING*
:   Specify a goal to the system. These are usually the OTP
  Apps that are part of the release

-o *STRING*, \--output-dir *STRING*
:  The output directory for the release. This is `./` by default.

-l *STRING*, \--lib-dir *STRING*
:  Additional dirs that should be searched for OTP Apps

-V *INTEGER*, \--verbose *INTEGER*
: The verbosity level of the system. Valid values are 1 - 3

-c *STRING*, \--config *STRING*
: The custom config file for the relx system

# CONFIGURATION FILES

Configuration files

# SEE ALSO

`reltool` (1).

[relx wiki](https://github.com/erlware/relx/wiki)