-
Notifications
You must be signed in to change notification settings - Fork 159
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
Update build script to run tests, updating packages. #416
Conversation
@forki I'm not sure if this is actually a FAKE thing or maybe just an interaction between the two, but thought you might know more about what's going wrong. Any ideas? :-) Thanks! |
can you please ask on twitter? I'm not an expert on NUnit3 - but I'm sure we'll find one |
Thanks a lot for looking into this - updating to NUnit 3 would be great :) |
@@ -1,76 +0,0 @@ | |||
#nowarn "211" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we might actually need this file (for a release or something?), though I do not remember the details. /cc @matthid who probably knows more.... I think there was some intricate reason why the file had to be in this particular folder, even though it's not a normal place where we would put it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, it's there for bootstrapping reasons. Without this the build fails for multiple reasons:
- The file is no longer found when creating the nuget package
- The bootstrapping sanity check will no longer work
For now the build fails at an earlier point...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh, I suspect it was deleted for me and then not re-generated? I'll add it back. :-)
Sooo, question. How important is setting the FSharp.Compiler.Service version in the paket.dependencies file? Is that what's causing this error? (It's at least different than the issue listed in Issue 277?) :-) Error: I was able to get around the previous issues after running a paket simplify which removed the FSharp.Compiler from paket.dependencies (not pushed yet here), but now I'm seeing that error when |
@tpetricek: This shows as still breaking, but locally this builds entirely for me now. Any idea how to fix travis? :-) |
I think this has been broken for some time - thanks for the nudge to fix that. With a bit of luck, #418 will fix that.... |
It worked! If you import latest changes in master into your PR, it should run. |
Woohoo! Then if/when this looks good to you, it's ready to be merged. :-) |
@matthid Could you have a quick look? You know some of the more intricate things that can go wrong here :) |
@@ -7,7 +7,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "project", "project", "{194B | |||
ProjectSection(SolutionItems) = preProject | |||
build.fsx = build.fsx | |||
nuget\FSharp.Formatting.CommandTool.nuspec = nuget\FSharp.Formatting.CommandTool.nuspec | |||
packages\FSharp.Formatting\FSharp.Formatting.fsx = packages\FSharp.Formatting\FSharp.Formatting.fsx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we leave this line? It makes the file easier editable in Visual Studio.
Yeah looks good to me. I have marked some places regarding our most loved dependency "FSharpVSPowerTools"... The cange in the solution file is not a stopper as it is easily added again. |
Should I merge this into v3 and release a new beta, so that we can test it? |
That would be awesome, assuming no one else has objections. :-) |
Apparently now obsoleted by #430. |
I wasn't able to run the tests when I forked, so I upgraded to NUnit3, and then moved FsUnit to be grabbed from paket.
I'm still getting errors running the tests (below) but the project builds, and I thought I'd send over this progress. Thoughts? Either on how to fix the below, or the updates I've added?
Thanks!
at Fake.ProcessHelper.ExecProcessWithLambdas@79-16.Invoke(String message) in C:\code\FAKE\src\app\FakeLib\ProcessHelper.fs:line 79
at Fake.ProcessHelper.ExecProcessWithLambdas(FSharpFunc
2 configProcessStartInfoF, TimeSpan timeOut, Boolean silent, F SharpFunc
2 errorF, FSharpFunc2 messageF) in C:\code\FAKE\src\app\FakeLib\ProcessHelper.fs:line 79 at Fake.Testing.NUnit3.NUnit3(FSharpFunc
2 setParams, IEnumerable1 assemblies) in C:\code\FAKE\src\app\FakeLib\UnitTe st\NUnit\NUnit3.fs:line 280 at FSI_0005.Build.clo@179-18.Invoke(Unit unitVar0) at Fake.TargetHelper.runSingleTarget(TargetTemplate
1 target) in C:\code\FAKE\src\app\FakeLib\TargetHelper.fs:line 492