diff options
author | lain <lain@soykaf.club> | 2019-06-28 15:26:09 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-06-28 15:26:09 +0000 |
commit | 2286f62a36a0f5d738892a9283a696b8a45b45a6 (patch) | |
tree | 2585654bfd9c0803a4668dcf5d1b7d423783337e /mix.exs | |
parent | f5b015b998252da489da3ec76fd5dd75dbcb7435 (diff) | |
parent | eeb419e3a0e8ad97b0061f5da9938bbf4f52c5c9 (diff) | |
download | pleroma-2286f62a36a0f5d738892a9283a696b8a45b45a6.tar.gz pleroma-2286f62a36a0f5d738892a9283a696b8a45b45a6.zip |
Merge branch 'release-docs' into 'develop'
Docs on OTP releases
See merge request pleroma/pleroma!1315
Diffstat (limited to 'mix.exs')
-rw-r--r-- | mix.exs | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -37,7 +37,7 @@ defmodule Pleroma.Mixfile do pleroma: [ include_executables_for: [:unix], applications: [ex_syslogger: :load, syslog: :load], - steps: [:assemble, ©_files/1] + steps: [:assemble, ©_files/1, ©_nginx_config/1] ] ] ] @@ -48,6 +48,15 @@ defmodule Pleroma.Mixfile do release end + def copy_nginx_config(%{path: target_path} = release) do + File.cp!( + "./installation/pleroma.nginx", + Path.join([target_path, "installation", "pleroma.nginx"]) + ) + + release + end + # Configuration for the OTP application. # # Type `mix help compile.app` for more information. |