如何使用 Paket 引用整个 GitHub 项目?

问题描述 投票:0回答:1

根据文档,我可以在我的

paket.dependencies
中使用这样的行获取整个GitHub存储库:

// master branch
github tpetricek/FSharp.Formatting

// version 2.13.5
github tpetricek/FSharp.Formatting:2.13.5

// specific commit 30cd5366a4f3f25a443ca4cd62cd592fd16ac69
github tpetricek/FSharp.Formatting:30cd5366a4f3f25a443ca4cd62cd592fd16ac69

但是我应该在

paket.refrences
中放入什么才能引用依赖项?

f# paket
1个回答
0
投票

简单回答:没什么。

正如马克所说,当数据包恢复时,它会被下载到数据包文件中,然后你可以按照你想要的方式使用它,例如以某种方式将其复制或包含在您的项目中。

© www.soinside.com 2019 - 2024. All rights reserved.