Fixing wrong local path detection with 'paket install' - #773
Conversation
Conflicts: src/Paket.Core/Utils.fs tests/Paket.Tests/UtilsSpecs.fs
|
It's failing on TravisCI. Is that related? |
|
it's linux/windows related. I have to adapt some unit tests. |
|
Ok. The Travis build is fine now. Should I also update the documentation? This is not clearly saying that relative pathes are also allowed. I just tried it out and it worked. |
|
Yes. Please update the docs.
|
…h are also allowed
|
From my side everything seems to be okay. |
|
Cool. Will look at it tomorrow. Thanks a lot.
|
Fixing wrong local path detection with 'paket install'
Assume you have the following setup.
A Nuget source
Externals\NugetStore(i.e. in your repo a local folder is used for some nuget packages) and you start e.g. yourpaket installin any subdirectory (e.g. Externals). Paket discovers correctly thepaket.dependenciesfile. But it then fails to detect the folder correctly because it tries to combine the relative folder from your start directory (and it tries to look forExternals\Externals\NugetStore) and not in relative to the location paket.dependencies file.Other paket commands never had any problems with that.