-
Notifications
You must be signed in to change notification settings - Fork 525
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
paket.template - file type doesn't respect dir without slash at the end #698
Comments
ok this one is my fault. I changed that to FAKE's globbing. and the behaviour is already in FAKE. Could you try to find a workaround around https://github.com/fsprojects/Paket/blob/master/src/Paket.Core/TemplateFile.fs#L328? we might even discuss changes to the globbing in FAKE |
I wonder if it really copies the whole directory including subdirectories. |
In my case it did |
Ok then I think it should go upstream into FAKE |
It already annoyed some people there |
Go for It |
There is a slight subtly here, when we have the trailing slash this allows the globbing implementation to figure out that it is a directory so something like |
Please take a look at 07a0b07 |
This causes a fair few test failures. I have added some failing tests and a fix colinbull/FAKE@e3eb041 sent you a PR. |
yep. just reverted that thing. It's not correct. And the workarounf Paket will also fail on wildcards ;-( |
Should we revert then? |
could you please try with 0.33.15 - it uses colin's stuff from FAKE |
works fine, thanks |
Good too hear 👍 |
with 57a4455#diff-5850744305c961bd47fb58bd09062c26R329 applied it seems to work even for complicated stuff like: fsprojects/FsReveal@18fcad5#diff-38a9089c5d441003f1b29b8880065f07R15 |
bin/Debug
doesn't workbin/Debug/
works/cc @mavnn
The text was updated successfully, but these errors were encountered: