0.9.9", github: "somewhere/example-6ren">
gpt4 book ai didi

elixir - 在 Elixir 中使用本地存储库?

转载 作者:行者123 更新时间:2023-12-04 14:42:46 25 4
gpt4 key购买 nike

在您的 Phoenix Framework 项目中包含外部存储库时,可以传递 Github 选项:

 {:example, "~> 0.9.9", github: "somewhere/example"}

是否可以选择包含本地存储库,类似于 Gemfile 中的 Rails 约定?
 gem 'somewhere', '0.0.2', :path => 'some/local/directory'

最佳答案

参数就是“路径”。

{:example, "~> 0.9.9", path: "some/local/directory"}

更多的是 Mix.Project 问题而不是 Phoenix 问题。见 the mix deps docs了解更多信息。

关于elixir - 在 Elixir 中使用本地存储库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32279926/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com