Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching targets that have no binary #205

Closed
timbo24 opened this issue Nov 15, 2019 · 4 comments
Closed

Caching targets that have no binary #205

timbo24 opened this issue Nov 15, 2019 · 4 comments

Comments

@timbo24
Copy link

timbo24 commented Nov 15, 2019

We have a few Carthage dependencies that we don't build, carthage checks out fully built frameworks. I'd like to still be able to upload the .version files for these to the cache and download them but in our CI we use the rome list to determine which dependencies to upload and since these don't have platforms rome list doesn't work for these.

Is there a way to have these uploaded even though they don't have platforms?

@tmspzz
Copy link
Owner

tmspzz commented Nov 15, 2019

I'm not sure I understand what "they don't have a platform" means. Do you mean there is no binary produced from them?

@timbo24
Copy link
Author

timbo24 commented Nov 15, 2019

No binary is produced. But I want the version file to indicated that after carthage checkout the binary is available from the checkouts dir.

@tmspzz
Copy link
Owner

tmspzz commented Nov 15, 2019

list only hits the binary because that's the important bit.

Also .version files are optional, you have to enable --cache-builds in carthage

That said, rome will still download or upload anything it finds.

My suggestion is filter out from the output of list the repos that don't produce binaries.

@timbo24
Copy link
Author

timbo24 commented Nov 15, 2019

Yeah, if I just manually add them to the cache this works fine.

@timbo24 timbo24 closed this as completed Nov 15, 2019
@tmspzz tmspzz changed the title Rome List does not output availability Caching targets that have no binary Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants