浏览代码

Load ex_syslog and copy pleroma_ctl

tags/v1.1.4
rinpatch 5 年前
父节点
当前提交
c47dc0de2c
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. +12
    -0
      mix.exs

+ 12
- 0
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, &copy_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.


正在加载...
取消
保存