Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/tsloughter/rebar3_run

Run a release with one simple command
https://github.com/tsloughter/rebar3_run

Last synced: about 2 months ago
JSON representation

Run a release with one simple command

Lists

README

        

rebar3_run
=====

Run a release with one simple command.

Build
-----

$ rebar3 compile

Use
---

Add the plugin to your rebar config or `~/.config/rebar3/rebar.config`:

{plugins, [
rebar3_run
]}.

Assuming you have a `relx` config section in your `rebar.config` with `extended_start_script` set to true:

```
{relx, [{release, {, }, []},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true}]}.
```

Then just call your plugin directly in an existing project:

$ rebar3 run
===> Fetching rebar3_run
===> Compiling rebar3_run
===> Starting relx build process ...
===> Resolving OTP Applications from directories:
.....
Erlang/OTP 17 [erts-6.4] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V6.4 (abort with ^G)
(@127.0.0.1)1>