Skip to content

doesFileExist_ == True for broken symlinks#835

Open
1inguini wants to merge 1 commit intondmitchell:masterfrom
1inguini:symlink_exist
Open

doesFileExist_ == True for broken symlinks#835
1inguini wants to merge 1 commit intondmitchell:masterfrom
1inguini:symlink_exist

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