问题描述
我想知道Carthage
中是否有类似私有吊舱之类的东西,我有几个框架,目前正在使用git submodules
,我开始将Carthage
用于新项目,这非常不错,但到目前为止,我仅将其配置为管理第三方Frameworks依赖项.我已经查看了 carthage文档,但是不清楚如何设置它.Carthage
仅适用于Github
仓库吗?它可以与Atlassian-Stash
(现在为Bitbucket
)一起使用吗?如果可以,怎么办?
I was wondering if there is something like private pods in Carthage
, I have a couple of frameworks and I'm currently using git submodules
, I started using Carthage
for a new project and is pretty nice but so far I just configured it to manage third party Frameworks dependencies. I've checked the carthage documentation but is not that clear on how to set it up.Does Carthage
work only with Github
repos? Can it work with Atlassian-Stash
(now Bitbucket
)? If so how?
推荐答案
所以我终于找到了如何使用Atlassian-Bitbucket
So I finally found out how to setup Carthage with a Atlassian-Bitbucket
在Cartfile
上,我只需要定义依赖项源即git仓库
on the Cartfile
i Just need to define the dependency origin which is the git repository
企业git存储库,例如Atlassian-Stash(Bitbucket)
Enterprise git repository like Atlassian-Stash(Bitbucket)
git "https://stashRepo"
它也可以与ssh://
或本地项目
git "file:///directory/to/project" "branch"
更新
迦太基现已在OGDL中添加了有关OGDL如何工作的额外文档.购物文件
Carthage has now added extra documentation on how the OGDL works in theCartfile
这篇关于如何设置迦太基以使用私有存储库(例如Stash(Bitbucket))中的自己的框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!