Skip to content

Instantly share code, notes, and snippets.

@tsloughter
Created October 12, 2014 00:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsloughter/20081e667eae0554228a to your computer and use it in GitHub Desktop.
Save tsloughter/20081e667eae0554228a to your computer and use it in GitHub Desktop.
λ ../rebar/rebar3 help release
Usage: rebar release [-n <relname>] [-v <relvsn>] [-g <goal>]
                     [-u <upfrom>] [-o <output_dir>] [-h] [-l <lib_dir>]
                     [-p <path>] [--default-libs <default_libs>]
                     [-V [<log_level>]] [-d <dev_mode>]
                     [-i <include_erts>] [-a <override>] [-c [<config>]]
                     [--overlay_vars <overlay_vars>]
                     [--sys_config <sys_config>]
                     [--system_libs <system_libs>] [--version]
                     [-r <root_dir>]

  -n, --relname       Specify the name for the release that will be 
                      generated
  -v, --relvsn        Specify the version for the release
  -g, --goal          Specify a target constraint on the system. These are 
                      usually the OTP
  -u, --upfrom        Only valid with relup target, specify the release to 
                      upgrade from
  -o, --output-dir    The output directory for the release. This is `./` 
                      by default.
  -h, --help          Print usage
  -l, --lib-dir       Additional dir that should be searched for OTP Apps
  -p, --path          Additional dir to add to the code path
  --default-libs      Whether to use the default system added lib dirs 
                      (means you must add them all manually). Default is 
                      true
  -V, --verbose       Verbosity level, maybe between 0 and 3 [default: 2]
  -d, --dev-mode      Symlink the applications and configuration into the 
                      release instead of copying
  -i, --include-erts  If true include a copy of erts used to build with, 
                      if a path include erts at that path. If false, do 
                      not include erts
  -a, --override      Provide an app name and a directory to override in 
                      the form <appname>:<app directory>
  -c, --config        The path to a config file [default: ]
  --overlay_vars      Path to a file of overlay variables
  --sys_config        Path to a file to use for sys.config
  --system_libs       Path to dir of Erlang system libs
  --version           Print relx version
  -r, --root          The project root directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment