diff options
author | rinpatch <rinpatch@sdf.org> | 2019-06-08 17:17:10 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-06-08 17:17:10 +0300 |
commit | c47dc0de2c567195206523a057c7df067d6fb076 (patch) | |
tree | a74561bf9791f1a66e1bf1737194ad67851b9e7e | |
parent | 3d374bf7df6a5cc4bacefefcb133387fe4c5265f (diff) | |
download | pleroma-c47dc0de2c567195206523a057c7df067d6fb076.tar.gz pleroma-c47dc0de2c567195206523a057c7df067d6fb076.zip |
Load ex_syslog and copy pleroma_ctl
-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. |