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

doesFileExist_ == True for broken symlinks #835

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

1inguini
Copy link

I wanted pass the symlink to produces, intending to make the target file of the symlink afterwards, but got error: Files declared by produces not produced:.

This pull request will let me produces broken symlink.

I wanted pass the symlink to `produces`, intending to make the target file of the symlink afterwards, but got error: `Files declared by produces not produced:`.
@ndmitchell
Copy link
Owner

Interesting - Shake doesn't really think about or know about symlinks in a meaningful way, and little of the design has considered them. Should symlinks be OK for directories?

I'm inclined to say we merge this, and accept that it's approximate rather than precise, since designing in symlinks from the beginning is a lot of work. But on the fence. Curious if anyone else has opinions.

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

Successfully merging this pull request may close these issues.

2 participants