@@ -366,10 +366,16 @@ defmodule Mix.Tasks.Release do
366
366
367
367
The following options can be set inside your `mix.exs` on each release definition:
368
368
369
- * `:applications` - a keyword list that configures and adds new applications
370
- to the release. The key is the application name and the value is one of:
369
+ * `:applications` - a keyword list with application names as keys and their
370
+ mode as value. By default `:applications` includes the current application and
371
+ all applications the current application depends on, recursively. You can include
372
+ new applications or change the mode of existing ones by listing them here.
371
373
372
- * `:permanent` - the application is started and the node shuts down
374
+ The order of the applications given will be preserved as much as possible, with
375
+ only `:kernel`, `:stdlib`, `:sasl`, and `:elixir` listed before the given application
376
+ list. The supported values are:
377
+
378
+ * `:permanent` (default) - the application is started and the node shuts down
373
379
if the application terminates, regardless of reason
374
380
* `:transient` - the application is started and the node shuts down
375
381
if the application terminates abnormally
@@ -379,19 +385,6 @@ defmodule Mix.Tasks.Release do
379
385
* `:none` - the application is part of the release but it is neither
380
386
loaded nor started
381
387
382
- All applications default to `:permanent`.
383
-
384
- By default `:applications` includes the current application and all
385
- applications the current application depends on, recursively.
386
- You can include new applications or change the mode of
387
- existing ones by listing them here. The order of the applications given
388
- in `:applications` will be preserved as much as possible, with only
389
- `:kernel`, `:stdlib`, `:sasl`, and `:elixir` listed before the given
390
- application list.
391
-
392
- Releases assembled from an umbrella project require this configuration
393
- to be explicitly given.
394
-
395
388
* `:strip_beams` - controls if BEAM files should have their debug information,
396
389
documentation chunks, and other non-essential metadata removed. Defaults to
397
390
`true`. May be set to `false` to disable stripping. Also accepts
0 commit comments