|
|
@@ -37,14 +37,14 @@ defmodule Pleroma.Mixfile do |
|
|
|
pleroma: [ |
|
|
|
include_executables_for: [:unix], |
|
|
|
applications: [ex_syslogger: :load, syslog: :load], |
|
|
|
steps: [:assemble, ©_pleroma_ctl/1] |
|
|
|
steps: [:assemble, ©_files/1] |
|
|
|
] |
|
|
|
] |
|
|
|
] |
|
|
|
end |
|
|
|
|
|
|
|
def copy_pleroma_ctl(%{path: target_path} = release) do |
|
|
|
File.cp!("./rel/pleroma_ctl", Path.join([target_path, "bin", "pleroma_ctl"])) |
|
|
|
def copy_files(%{path: target_path} = release) do |
|
|
|
File.cp_r!("./rel/files", target_path) |
|
|
|
release |
|
|
|
end |
|
|
|
|
|
|
|