Existence of priv directory breaks Distillery releases #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello! I have been trying to use fast_html in a Distillery release and I believe I've found an issue caused by the existence of the
privdirectory. Theelixir_makedocs mention that the source code must not have aprivdir https://github.com/elixir-lang/elixir_make/blob/master/lib/mix/tasks/compile.make.ex#L94I've got a working fork over at github, but the gist (pun intended) of the fix is:
privdirectorymkdir privinMakefile, specifically thepriv/fasthtml_workertarget. After compilinglexborbut before compilingfasthtml_worker, simplymkdir privThat should be enough to fix it. I've confirmed that my fork builds correctly and the compiled binary is reachable.
@andyleclair I see, thanks for the report! Having priv dir in source was inherited from myhtmlex and I missed that point the docs when switching to elixir_make. Weird that it worked with Elixir's own OTP releases though. Since you already fixed the issue in your fork, do you mind submitting it in an MR here?
I can do that! I'll have to figure out how to do it, I'm sorta new to Gitlab.
@andyleclair any updates?
Closed by #34