Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Question: Can I use carthage as a dependency? #50121

Closed
mitsuse opened this issue Mar 15, 2016 · 1 comment
Closed

Question: Can I use carthage as a dependency? #50121

mitsuse opened this issue Mar 15, 2016 · 1 comment

Comments

@mitsuse
Copy link

mitsuse commented Mar 15, 2016

Hi,

I'm creating the formula for a tool written in Swift. Can I use carthage as a dependency in formula? If it is unavailable, I want to know the reason.

The tools depends on carthage in build time. More specifically, the formula executes carthage bootstrap to checkout dependencies and build them. Some formulae for tools in Swift exist, but they aren't using carthage in build time. So there is no example about carthage as a dependency.

In a pull-request (but it was not merged), the formula depends on carthage, but was commented as follow:

Instead of using carthage checkout this should explicitly stage any needed dependencies into buildpath as resources; v8.rb gives an example.

Thanks.

@mitsuse mitsuse changed the title Question: Can I Use carthage as a dependency? Question: Can I use carthage as a dependency? Mar 15, 2016
@MikeMcQuaid
Copy link
Member

You can use it as the dependency but Carthage should not be the tool that does the checkout as we cannot cache in that case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants