Uh oh!
There was an error while loading. Please reload this page.
Make build.sh run on Linux - #57
Conversation
Linux is case sensitive, hence had to change .NuGet to .nuget, as the latter is the name of the folder in source control.
cgravill
commented
Apr 9, 2016
Thanks I'll definitely merge this. We very much want to support running on Linux. |
bluenex
commented
Apr 9, 2016
I also run on Ubuntu 14.04 with F# 4.0. I tried running |
luminescent
commented
Apr 9, 2016
Hi This happens because the test project does not have any compilable files in Please see here: the changes I had to make to get it to compile. Once I did that and But, depending on your version of Mono/F#, you might actually have to Now back to sort of worked on my local machine - if I launch the Hope this helps! On Sat, Apr 9, 2016 at 4:44 PM, Tulakan Ruangrong notifications@github.com
|
bluenex
commented
Apr 9, 2016
Thanks for the very fast response @luminescent. I added |
luminescent
commented
Apr 9, 2016
Looks like you are still getting the same error. The Have you changed the .fsproj to include the new .fs file and do you have On Sat, Apr 9, 2016 at 5:51 PM, Tulakan Ruangrong notifications@github.com
|
bluenex
commented
Apr 9, 2016
My apologies for the mistake, I didn't know about that. It's now working but without intellisense. I will figure it out next. Thank you very much for your help :) |
cgravill
commented
Apr 9, 2016
luminescent
commented
Apr 9, 2016
You're welcome, glad it is working now. You aren't getting intellisense @cgravill, I was going to submit a PR with a patch, however I wanted to But perhaps it won't even be necessary with #56, I will try it out. Regarding intellisense working in console only, that seems a bit trickier - On 9 Apr 2016 18:46, "Colin Gravill" notifications@github.com wrote:
|
npmurphy
commented
Apr 10, 2016
@luminescent@cgravill |
luminescent
commented
Apr 10, 2016
Hi From my experience, xUnit has two advantages over NUnit:
But on the other hand NUnit is way more popular and has better tooling support. E.g. the continuous build server TeamCity has a native plugin for running NUnit, but not for xUnit. But since this is F#, perhaps a wrapper like FsUnit would allow switching between these two quite easily - if my understanding is correct, if would be just changing a packet reference and the namespaces in the test code files when replacing one with the other, the test methods code/test syntax would stay the same. |
cgravill
commented
Apr 12, 2016
xUnit is fine with me, I've used it elsewhere with F# projects and it's behaved well. |
cgravill
commented
Apr 12, 2016
I've added a very simple xUnit test and switched build.fsx over to that. This should avoid the misleading NUnit error you were getting because of no tests. Hope this helps. Actual tests can come later! |
Hi
I have Ubuntu installed and F# 4.0 running on Mono on it. I have managed to run build.sh sucessfully after fixing a series of paths typos - case sensitive sort - in build.sh and build.fsx. While on Windows these would not pose problems, I'm sure you know that Linux is not that flexible.
Might be worth merging this pull request, it won't affect Windows builds but will help Linux ones.