-
Notifications
You must be signed in to change notification settings - Fork 586
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
Make Fake-Cache a bit portable #1924
Comments
@matthid, is it the same case as if I put the build script to folder: |
@OlegZee I guess you mean "Moving" the script to a different folder or moving the project? |
@matthid I just moved the script to a samples folder and now I cannot run it without changing current folder. |
Yes we need to allow that. Current workaround is to |
Btw, do you know FAKE is also affected by an https://github.com/dotnet/cli/issues/4808? Offtopic here but hardly deserve its own issue. |
Basically yes, however nobody seems to notice because fake is in the root folder and not a lot of stuff is living there I guess. Or people use chocolatey ;) |
I think this is solved by storing relative paths (relative to the script) into the fake cache in addition to detecting the nuget-packages directory. This should cover most cases besides the one you posted @OlegZee . To handle that scenario I think it makes the most sense to detect that error and hint the user into deleting the |
or save the |
Description
Currently you cannot move your fake-cache alongside the script without any bad sideeffects.
This issue should be used to investigate where we can automatically invalidate/detect such scenarios and also investigate where we can for example save relative paths to allow copying.
The text was updated successfully, but these errors were encountered: