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
I've got to the point where I can run build.fsx on Osx (I had to add some #I include paths - I'll get a PR together when I get this sorted as I also added #I parsing into the build rules.).
When I run it hangs, with no activity, I guess its waiting on a channel or something in Hopac. I'm sprinkling tracefn calls around to see if I can track where...
The fact that you need a #I line suggests something very wrong to begin
with, to be honest: all of the files are in the same directory which should
also be the working directory.
I'm about to be offline for a couple of weeks, but I'll have a dig into
this when I'm back online, and see if I can set up both mono and windows CI
builds to keep things cross plat from here on in.
The #I is not for the other source files, it's for the dependencies of the #r referenced assemblies. Without the #I mono/fsi doesn't know to look in e.g packages/FAKE/tools for other assemblies that FakeLib.dll depends on.
Adding #I lines seems to not break anything on Windows, so please do submit a pull request when you get a chance. I'll see if I can get some CI builds going later this week.
Activity
leafgarland commentedon Jul 17, 2015
Hm, it doesn't even run the first line of the job, which was already a
tracefncall.Turns out if I compile it manually:
and edit
build.fsxto use that assembly instead of#load "Fake.Shake.fsx", then I can run the rules.So, perhaps some oddness related to differences in how mono/fsi loads source files, references etc.
mavnn commentedon Jul 19, 2015
The fact that you need a #I line suggests something very wrong to begin
with, to be honest: all of the files are in the same directory which should
also be the working directory.
I'm about to be offline for a couple of weeks, but I'll have a dig into
this when I'm back online, and see if I can set up both mono and windows CI
builds to keep things cross plat from here on in.
On Fri, 17 Jul 2015 16:30 Leaf Garland notifications@github.com wrote:
leafgarland commentedon Jul 19, 2015
The #I is not for the other source files, it's for the dependencies of the #r referenced assemblies. Without the #I mono/fsi doesn't know to look in e.g packages/FAKE/tools for other assemblies that FakeLib.dll depends on.
mavnn commentedon Aug 5, 2015
Adding #I lines seems to not break anything on Windows, so please do submit a pull request when you get a chance. I'll see if I can get some CI builds going later this week.
leafgarland commentedon Aug 6, 2015
Will do but offline for a week or so. I raised the question about
#ron the fsharp mailing list, https://groups.google.com/forum/m/#!topic/fsharp-opensource/o-1msYJAKpA. Apparently due to lack of msbuild on mono.