Comments (3)
@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.
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.
@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)
- Check that used dependencies are included and non-used excluded from package.json HOT 1
- noMocha have no effect? HOT 1
- No dependency check fails
- Ensure working directory matches pushed changes
- Warn about outdated/undesired node.js / npm version
- Warn about outdated dependencies
- Integrate JSCS HOT 1
- Missing license file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lintlovin.