
























Hello! mix do phx.digest requires $pkgdir folder, which in turn appears at the stage of package().
Hello, could you move the compile/mix step to build() instead of package()? I think it would make more sense. Thanks
I fixed all needed (as I think). Please check you email, I send you proposed config.
What is the recommended way to set the ENCRYPTION_KEY variable w/o setting it system-wide?
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Wouldn't it work if you did something like
HEX_HOME=${srcdir}/.hex MIX_HOME=${srcdir}/.mix MIX_ENV=prod mix do phx.digest, release --overwrite --path=${srcdir}/usr/share/webapps/${pkgname}or whatever other path and then move the files in package()?Obviously I haven't tried it, but it might be simplest solution.
I see that in first incarnation this PKGBUILD used this
mix docommand both in build and in package.