diff options
author | Loïc Hoguin <[email protected]> | 2019-07-18 09:59:28 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-07-18 10:08:46 +0200 |
commit | 136d443b5c38bee96f5d995dfea3629ef07564c3 (patch) | |
tree | 1d31540baebc43ca0b2dceeda212c44f5da7e7a8 /docs/en/erlang.mk/1/guide/sfx.asciidoc | |
parent | e031713c0e8bd871248dbbbbdec1ea28609f4431 (diff) | |
download | ninenines.eu-136d443b5c38bee96f5d995dfea3629ef07564c3.tar.gz ninenines.eu-136d443b5c38bee96f5d995dfea3629ef07564c3.tar.bz2 ninenines.eu-136d443b5c38bee96f5d995dfea3629ef07564c3.zip |
Announce Ranch 2.0.0-rc.1
Adds Ranch 2.0 documentation and removes documentation for
very old Cowboy and Ranch, along with Erlang.mk documentation
which is available on its own website.
Diffstat (limited to 'docs/en/erlang.mk/1/guide/sfx.asciidoc')
-rw-r--r-- | docs/en/erlang.mk/1/guide/sfx.asciidoc | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/docs/en/erlang.mk/1/guide/sfx.asciidoc b/docs/en/erlang.mk/1/guide/sfx.asciidoc deleted file mode 100644 index aae2c8d4..00000000 --- a/docs/en/erlang.mk/1/guide/sfx.asciidoc +++ /dev/null @@ -1,49 +0,0 @@ -[[sfx]] -== Self-extracting releases - -Erlang.mk allows you to package xref:relx[Relx releases] as -self-extracting archives. These archives contain all the -files in the release and come in the form of a script that -will extract and run the release automatically. - -This allows you to package the release as a single file -that can then be executed. - -This feature is currently experimental. Feedback is much -appreciated. - -=== Generating the self-extracting archive - -To generate a self-extracting release, all you need to do -is pass the `SFX=1` variable to Make when you build the -release: - -[source,bash] -$ make SFX=1 - -This will create a self-extracting archive in -`$RELX_OUTPUT_DIR/<name>.run`. For example if the release -is named `hello_world` and `$RELX_OUTPUT_DIR` is the default, -the file will be located at `_rel/hello_world.run`. - -=== Running the release - -Simply execute the script to get started: - -[source,bash] ----- -$ ./_rel/hello_world.run -Exec: /tmp/tmp.3eeEq7E1ta/erts-8.1/bin/erlexec ... -Root: /tmp/tmp.3eeEq7E1ta -/tmp/tmp.3eeEq7E1ta -Erlang/OTP 19 [erts-8.1] [source] [64-bit] [smp:4:4] ... - -Eshell V8.1 (abort with ^G) -(hello_world@localhost)1> ----- - -As you can see the archive is extracted to a temporary -directory before the release can be started. - -The self-extracting script currently only supports starting -the release in `console` mode. |