Closed goofansu closed 8 years ago
folder structure:
cr apps crgame-0.1.0 crlib-0.1.0
I want to copy apps/crgame/priv when release.
apps/crgame/priv
rebar.config:
{overlay, [{copy, "apps/crgame/priv", "priv"}]}
Run rebar3 as prod release twice, I found the structure below:
rebar3 as prod release
cr _build prod rel cr priv priv
The second run will copy the priv directory into the first run's priv directory.
priv
first run's priv directory
folder structure:
I want to copy
apps/crgame/priv
when release.rebar.config:
Run
rebar3 as prod release
twice, I found the structure below:The second run will copy the
priv
directory into thefirst run's priv directory
.