如何设置迦太基以使用私有存储库(例如Stash(Bitbucket))中的自己的框架? [英] How do I setup Carthage to use my own Frameworks that are in private repository like Stash (Bitbucket)?

查看:94
本文介绍了如何设置迦太基以使用私有存储库(例如Stash(Bitbucket))中的自己的框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道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 the Cartfile

这篇关于如何设置迦太基以使用私有存储库(例如Stash(Bitbucket))中的自己的框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆