<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
</head>
<body><div>Can you share your config or even the whole project?<br></div>
<div><br></div>
<div>On Sun, Jul 29, 2018, at 3:47 PM, Karlo Kuna wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div>hey Tristan<br></div>
<div><br></div>
<div>thanks for the reply <br></div>
<div>i have tried your proposal but had no luck<br></div>
<div><br></div>
<div>i'm running rebar 3.6.1 on Erlang/OTP 21 Erts 10.0 on linux <br></div>
<div><br></div>
<div>what am i missing? <br></div>
</div>
<div><br></div>
<div defang_data-gmailquote="yes"><div dir="ltr">On Sun, Jul 29, 2018 at 11:04 PM Tristan Sloughter <<a href="mailto:t@crashfast.com">t@crashfast.com</a>> wrote:<br></div>
<blockquote defang_data-gmailquote="yes" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-color:rgb(204, 204, 204);border-left-style:solid;border-left-width:1px;padding-left:1ex;"><div><u></u><br></div>
<div><table width="587" height="1"><tbody><tr><td><div><br></div>
<div>We definitely need to add this to the docs on <a href="http://rebar3.org">rebar3.org</a>, it wasn't documented for historical reasons but it has been stable api for years now.<br></div>
</td></tr></tbody></table><div><br></div>
<div>This should work if you replace the app name part with your app's name:<br></div>
<div><br></div>
<div>{<span>escript_incl_extra</span>, [{<span><span>"</span><YOUR APP NAME>/priv/*</span>, <span><span>"</span>_build/default/lib/<span>"</span></span>}]}.<br></div>
<div>It could use improvements to like replace os vars for the profile, but it at least works<br></div>
<div><br></div>
<div>On Sun, Jul 29, 2018, at 2:51 PM, Karlo Kuna wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div>I'm trying to make self contained escript<br></div>
<div>i need priv folder to be included in archive in escript<br></div>
<div><br></div>
<div>currently i'm extracting files using: 'escript:extract' <br></div>
<div>but in arhive there is no `priv` directory<br></div>
<div><br></div>
<div>i'm building with rebar3 escriptize <br></div>
<div><br></div>
<div>any help would be appreciated <br></div>
</div>
<div><u>_______________________________________________</u><br></div>
<div>erlang-questions mailing list<br></div>
<div><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br></div>
<div><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a><br></div>
</blockquote><div><br></div>
</div>
<div>_______________________________________________<br></div>
<div> erlang-questions mailing list<br></div>
<div> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br></div>
<div> <a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a><br></div>
</blockquote></div>
</blockquote><div><br></div>
</body>
</html>