X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=mix.exs;h=a6481bab6299ef06fcb8b0f6b49b1ac955f518ac;hb=a7d956d3831f7a1dcd70f34b819084bd59eb536c;hp=9447a2e4f955ae6f06d614d9901fe7ee27ebf58c;hpb=e4babb1c9ff4c28ff08888736cc330a48b19b396;p=akkoma diff --git a/mix.exs b/mix.exs index 9447a2e4f..a6481bab6 100644 --- a/mix.exs +++ b/mix.exs @@ -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.