diff --git a/mix.exs b/mix.exs index 7670976afe..de7090e760 100644 --- a/mix.exs +++ b/mix.exs @@ -43,7 +43,61 @@ defmodule Plural.MixProject do "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test - ] + ], + releases: releases() + ] + end + + defp releases() do + [ + plural: [ + include_executables_for: [:unix], + include_erts: true, + strip_beams: true, + quiet: false, + applications: [ + :runtime_tools, + api: :permanent, + core: :permanent, + email: :permanent, + graphql: :load + ] + ], + rtc: [ + include_executables_for: [:unix], + include_erts: true, + strip_beams: true, + quiet: false, + applications: [ + :runtime_tools, + rtc: :permanent, + core: :permanent, + graphql: :load + ] + ], + worker: [ + include_executables_for: [:unix], + include_erts: true, + strip_beams: true, + quiet: false, + applications: [ + :runtime_tools, + worker: :permanent, + core: :permanent + ] + ], + cron: [ + include_executables_for: [:unix], + include_erts: true, + strip_beams: true, + quiet: false, + applications: [ + :runtime_tools, + cron: :permanent, + core: :permanent, + email: :permanent + ] + ], ] end