Git Product home page Git Product logo

Comments (5)

yonaskolb avatar yonaskolb commented on May 18, 2024

What's your mint --version? There were some changes around this in the newer releases

from mint.

jagreenwood avatar jagreenwood commented on May 18, 2024

I was on 0.17.2 but updated to 0.17.5 and I've got the same issue.

Looking at the dynamically generated resource_bundle_accessor.swift source, I think it is looking for the bundle at

// For command-line tools.
Bundle.main.bundleURL,

I don't exactly know how the system treats running executables from symlinks, but in terms of looking for resources, it appears to not follow the link.

With the latest changes I see in 0.17.5, would it be reasonable to simply move all build artifacts to ~/mint/bin/ rather than create symlinks? I don't have the history of knowing why ~/mint/packages/ is important, apologies if that is a ridiculous suggestion.
I can make that change and PR it if that makes sense to do.

from mint.

jagreenwood avatar jagreenwood commented on May 18, 2024

@yonaskolb What are your thoughts on a fix for this? I'd be happy to contribute to a fix.

from mint.

yaroslavyaroslav avatar yaroslavyaroslav commented on May 18, 2024

I think this one is related to that: SwiftGen/SwiftGen#905

from mint.

yonaskolb avatar yonaskolb commented on May 18, 2024

@jagreenwood ~/.mint/bin was created here #216 as a location for the single "globally" installed version of a package. ~/.mint/packages is for all build artefacts for all versions.

I'm not sure how to best resolve this situation, but have 2 thoughts:

  • these will still work if you use mint run ..., as opposed to using mint install ... and then running separately.
  • we can't really just copy the bundles into /bin as they would collide with bundles from other executables (and maybe even different versions of those same bundles)

from mint.

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.