Giter VIP home page Giter VIP logo

Comments (3)

voxpelli avatar voxpelli commented on August 30, 2024

@oliversalzburg: Warn so that the user can fix it itself? If so it should probably advice the user on how to fix it as well. I've no idea on how to run an "elevated shell" though.

(It should also check that the symlinked files hasn't been overridden in the repo as that's sometimes something that happens)

Maybe lintlovin can provide an automatic fallback if it detects that the files are supposed to be symlinks but that the symlinks failed? That way Windows users wouldn't have to do any work.

Symlinks are by default checked out as a file containing the path to the symlinked file on Windows – right? So if is-windows returns true one could check whether the possibly symlinked files are such files and if so reconfigure the Grunt tasks to use the actual files instead.

from lintlovin.

oliversalzburg avatar oliversalzburg commented on August 30, 2024

Yeah, I had the files with the path to the linked file in them when I checkout out the repo. Quite confusing at the time.

Sure, the user could be instructed how to solve the problem. You have to run Command Prompt or Git Bash with the "Run as Administrator" context menu option. Windows developers should be well aware of the process. From such a shell, all the regular symlinking operations work as expected.

I like the fallback idea, although the only fallback I can think of right now, would be to copy the files.

from lintlovin.

voxpelli avatar voxpelli commented on August 30, 2024

@oliversalzburg The Grunt-configuration explicitly points out most of the config files: https://github.com/bloglovin/lintlovin/blob/master/index.js#L39 So it could reconfigure it if it finds the need

from lintlovin.

Related Issues (9)

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.