GithubHelp home page GithubHelp logo

Comments (4)

tmspzz avatar tmspzz commented on August 26, 2024

Hi, should be already addressed by adding name aliases in your Repository map.

For Reachability.swift specify

[RepositoryMap]
Reachability.swift = Reachability

See https://github.com/blender/Rome#multiple-aliases

Does this help @vgorloff ?

Bottom line:

  • if you have dependencies hosted on github and the products name match the owner/name scheme you don't need any line in the Romefile [RepositoryMap] section

for example:
Cartfile.resolved

github "Alamofire/Alamofire" "4.5.0"

Romefile

[Cache]
    local = ~/Library/Caches/Rome/

And you are done.

  • if you have dependencies hosted on github and the products name match DOES NOT match the owner/name scheme or your dependency is not on github, you need an entry in the [RepositoryMap] section

for example:

for example:
Cartfile.resolved

github "Alamofire/Alamofire" "4.5.0"
github "ashleymills/Reachability.swift" "v3"
git "ssh://[email protected]:7999/iossdk/cat-names.git" "v1.3.0"

Romefile , note that there is no entry for Alamofire

[Cache]
    local = ~/Library/Caches/Rome/

[RepositoryMap]
Reachability.swift = Reachability
cat-names = CatNames

from rome.

vgorloff avatar vgorloff commented on August 26, 2024

Thank you!

My bad. I did not know/read about Multiple Aliases.

Solution for my problem – is to write RepositoryMap like this.

[RepositoryMap]
   Reachability.swift = Reachability
   Bolts-ObjC = Bolts
   lottie-ios = Lottie
   UIColor-Hex-Swift = HEXColor
   facebook-ios-sdk = FBSDKCoreKit, FBSDKLoginKit, FBSDKShareKit
   facebook-sdk-swift = FacebookCore, FacebookLogin, FacebookShare

from rome.

vgorloff avatar vgorloff commented on August 26, 2024

I created enhancement #95. Feel free to close this issue.)

Thank you!

from rome.

tmspzz avatar tmspzz commented on August 26, 2024

@vgorloff Thanks! I will updated the documentation to make the Multiple Aliases more obvious.

from rome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.