Closed bjufre closed 4 years ago
Oh gosh....
This project has both source and build priv
directories. The fix is to move priv/www
to another directory - like assets/www
, and then copy over the files to the _build/.../priv
directory as part of the build process. Once that's done, the priv
directory can be completely removed from the source tree. All other solutions lead to misery.
If this doesn't make sense, I'll put it on my todo list for this weekend or early next week.
@fhunleth I've removed the priv
directory and moved to assets
as suggested. Also added a custom alias for compile in order to add as a compilation step the assets to the _build
directory.
Let's see if this is how you envisioned it.
(Hope I can help with something 😆 at least!)
Moved the compilation step over to make
and use the MIX_APP_PATH
for compiling into the correct directory based on the different environments user might be compiling in.
Also update dependencies as well as a chore task.
Add
build_embedded: true
in mix.exs in order to embed thekiosk
executable to the_build
directory instead of using symlinks.