-
Notifications
You must be signed in to change notification settings - Fork 70
Make build.sh run on Linux #57
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
Conversation
Linux is case sensitive, hence had to change .NuGet to .nuget, as the latter is the name of the folder in source control.
|
Thanks I'll definitely merge this. We very much want to support running on Linux. |
|
I also run on Ubuntu 14.04 with F# 4.0. I tried running |
|
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 [email protected]
|
|
Thanks for the very fast response @luminescent. I added |
|
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 [email protected]
|
|
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 :) |
|
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" [email protected] wrote:
|
|
@luminescent @cgravill |
|
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. |
|
xUnit is fine with me, I've used it elsewhere with F# projects and it's behaved well. |
|
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.