Skip to content
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

Convert to FAKE5 #148

Closed
et1975 opened this issue Jun 11, 2018 · 9 comments
Closed

Convert to FAKE5 #148

et1975 opened this issue Jun 11, 2018 · 9 comments

Comments

@et1975
Copy link
Member

et1975 commented Jun 11, 2018

As a bonus would be great if the docs generation did not depend on net46

@zakaluka
Copy link

@et1975 Need some help if you have the time. Facing an odd issue in AppVeyor, but I am not having any .NET SDK installation-related issues on my machine (I'm on Windows 7).

Seems like every AppVeyor build is failing on installing the SDK. I tried updating to 2.1.300 in the hopes that it would succeed. I don't normally use AppVeyor and I'm having a hard time figuring out what is going on.

For the moment, I have reverted all references to SDK 2.1.4 (obviously still failing).

@zakaluka
Copy link

Ok, stopped and paid closer attention to the logs. Appears that the real failure point is restore. Trying some alternate syntax(es).

@zakaluka
Copy link

zakaluka commented Jun 23, 2018

Well, this error is quite frustrating.

Fake.Core.BuildFailedException: Target 'Install' failed. ---> System.AggregateException: One or more errors occurred. ---> System.Exception: Start of process 'dotnet' failed. ---> System.ComponentModel.Win32Exception: ApplicationName='dotnet', CommandLine=' restore Fable.Elmish.fsproj ', CurrentDirectory='/home/travis/build/elmish/elmish/src', Native error= Cannot find the specified file

Not sure why it can't find the fsproj file, unless dotnet restore doesn't want the file name when restoring (something specific to Linux, as this is working just fine on Windows?).

@zakaluka
Copy link

Ok, after 4 tries, I think that the system cannot find dotnet (should have realized this earlier, but I was sure it couldn't find the fsproj) 🤦‍♂️

Working on that issue now.

@MangelMaxime
Copy link
Member

@zakaluka Thanks for giving this issue a try.

For appveyor problem, can you try to use something equivalent to this one ?

I also added some comments in your current PR.

@et1975
Copy link
Member Author

et1975 commented Jun 25, 2018

I just noticed appveyor hasn't built anything since we renamed the org. I updated the settings, let's hope it kicks in now.
Travis seems currently failing due to build documentation. That was always finicky, but I think there was an update for FSharp.Formatting that supports netcore.
Also, let's make the travis job easier, set dotnet arg, so it uses pre-installed dotnet instead of installing it on each build (as long as it matches global.json).

@zakaluka
Copy link

@MangelMaxime @et1975

  1. AppVeyor is successfully building now. For now, it is running the Build target.

  2. Travis is giving a pretty odd error message. The specifics can be found in this log file. In short, the error states:

Could not find script './paket-files/Build/fsharp/FAKE/modules/Octokit/Octokit.fsx' in any paths searched. Searched paths:
["../../src/bin/Release/netstandard2.0"]

This error does not occur on AppVeyor, which seems to build just fine. I tried a few variations on the #load statement in build.fsx in an attempt to navigate to the file, but none of them seemed to succeed. Any idea what might be causing this?

@MangelMaxime
Copy link
Member

@et1975 One note, I think we can't yet bootstrap FAKE using netcore runtime because we are using F#.Formatting which is running only for .Net I think.

@zakaluka
Copy link

zakaluka commented Aug 3, 2018

Should this be closed since #149 was merged?

@et1975 et1975 closed this as completed May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants