refactor: mvoe config examples to 'rel/config'
This commit is contained in:
parent
2ba74ea23e
commit
49c4ea9ae9
2
mix.exs
2
mix.exs
|
@ -538,7 +538,7 @@ defmodule EMQXUmbrella.MixProject do
|
||||||
profile = System.get_env("MIX_ENV")
|
profile = System.get_env("MIX_ENV")
|
||||||
|
|
||||||
File.cp_r!(
|
File.cp_r!(
|
||||||
"examples",
|
"rel/config/examples",
|
||||||
Path.join(etc, "examples"),
|
Path.join(etc, "examples"),
|
||||||
force: overwrite?
|
force: overwrite?
|
||||||
)
|
)
|
||||||
|
|
|
@ -525,7 +525,7 @@ etc_overlay(ReleaseType, _Edition) ->
|
||||||
[
|
[
|
||||||
{mkdir, "etc/"},
|
{mkdir, "etc/"},
|
||||||
{copy, "{{base_dir}}/lib/emqx/etc/certs", "etc/"},
|
{copy, "{{base_dir}}/lib/emqx/etc/certs", "etc/"},
|
||||||
{copy, "examples", "etc/"}
|
{copy, "rel/config/examples", "etc/"}
|
||||||
] ++
|
] ++
|
||||||
lists:map(
|
lists:map(
|
||||||
fun
|
fun
|
||||||
|
|
Loading…
Reference in New Issue