hex-pm

Mix task “release” not found error

◇◆丶佛笑我妖孽 提交于 2019-12-13 22:21:59
问题 I was setting up an Ubuntu 16.04 server for my Elixir/Phoenix application with edeliver when edeliver failed with the error message ** (Mix) The task "release" could not be found along with a exit code of 1. If I go to my build server, git pull my app and run MIX_ENV=prod mix release or just mix release after getting dependencies, I get the same error. However, the same application works without any problem locally. My erlang version is erts-9.0 and elixir version is 1.5.5 on both the server

How to publish a package to hex with a dependency from github?

懵懂的女人 提交于 2019-12-11 04:27:32
问题 How do I publish a package to hex correctly that has a dependency from github and is required for the package to run? 回答1: You cannot. Only Hex packages will be included as dependencies of the package, for example Git dependencies will not be included. Source This is by design to make sure every package published on hex.pm can be built in the future. Github repositories can be deleted by the creator at any time but packages published on hex.pm cannot be unpublished after 1 hour of it being