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 published.



来源:https://stackoverflow.com/questions/38949604/how-to-publish-a-package-to-hex-with-a-dependency-from-github

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!