You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure, If it's a problem of fake or mine but nevertheless.
Suppose we've got next directories structure
$/
.nuget/
packages/
Fake/
cmd/
run.cmd
fsx/
run.fsx
Where run.cmd is a fake script bootstrapper, which downloads fake to the packages folder with use of .nuget/nuget.exe and starts ../fsx/run.fsx then.
And run.fsx has next content
After executing the script, empty folder .fake will be created inside cmd folder, while compilated FSI-ASSEMBLY.dll will be saved inside fsx one. Also, after all the targets will be completed successfully, we will getSystem.IO.DirectoryNotFoundException inside Fake.FSIHelper.runFAKEScriptWithFsiArgsAndREdirectMessages at FSIHelper.fs#340
Everything will be ok without Directory.SetCurrentDirectrory(__SOURCE_DIRECTORY__), but I want all the pathes used in script to be relative to the fsx files itself and not the cmd bootstrapper.
The text was updated successfully, but these errors were encountered:
khanage
added a commit
to khanage/FAKE
that referenced
this issue
Oct 7, 2015
fixesfsprojects#946 - relative paths seem to be confused between the path of the fake.exe and the path of the project.
I'm happy for someone who knows more than I do to do a deeper dive, but this seems adequate for what I assume is a temporary location.
Not sure, If it's a problem of fake or mine but nevertheless.
Suppose we've got next directories structure
$/
.nuget/
packages/
Fake/
cmd/
run.cmd
fsx/
run.fsx
Where
run.cmd
is a fake script bootstrapper, which downloads fake to thepackages
folder with use of.nuget/nuget.exe
and starts../fsx/run.fsx
then.And
run.fsx
has next contentAfter executing the script, empty folder
.fake
will be created insidecmd
folder, while compilatedFSI-ASSEMBLY.dll
will be saved insidefsx
one. Also, after all the targets will be completed successfully, we will getSystem.IO.DirectoryNotFoundException
insideFake.FSIHelper.runFAKEScriptWithFsiArgsAndREdirectMessages
atFSIHelper.fs#340
Everything will be ok without
Directory.SetCurrentDirectrory(__SOURCE_DIRECTORY__)
, but I want all the pathes used in script to be relative to thefsx
files itself and not thecmd
bootstrapper.The text was updated successfully, but these errors were encountered: