diff options
author | lain <lain@soykaf.club> | 2019-06-10 13:03:48 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-06-10 13:03:48 +0000 |
commit | 8fd68b8039c81a4e7b6dd1232c32fa2e736b1ea2 (patch) | |
tree | 1dc9bc9e0e0e0f5ae894a9c75ae3ca45bef49808 /mix.exs | |
parent | 3d7bb4712436ca80b840b35c39674e2f951cecbe (diff) | |
parent | dbe4c2b7c8cfec4d8348de869a86c03015a7b7c5 (diff) | |
download | pleroma-8fd68b8039c81a4e7b6dd1232c32fa2e736b1ea2.tar.gz pleroma-8fd68b8039c81a4e7b6dd1232c32fa2e736b1ea2.zip |
Merge branch 'feature/releases' into 'develop'
Releases
See merge request pleroma/pleroma!1261
Diffstat (limited to 'mix.exs')
-rw-r--r-- | mix.exs | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -32,10 +32,22 @@ defmodule Pleroma.Mixfile do ], main: "readme", output: "priv/static/doc" + ], + releases: [ + pleroma: [ + include_executables_for: [:unix], + applications: [ex_syslogger: :load, syslog: :load], + steps: [:assemble, ©_pleroma_ctl/1] + ] ] ] end + def copy_pleroma_ctl(%{path: target_path} = release) do + File.cp!("./rel/pleroma_ctl", Path.join([target_path, "bin", "pleroma_ctl"])) + release + end + # Configuration for the OTP application. # # Type `mix help compile.app` for more information. |