repl icon indicating copy to clipboard operation
repl copied to clipboard

src/Export/build.sh out of sync with ncave's fsharp "export" branch

Open davedawkins opened this issue 3 years ago • 4 comments

src/Export/build.sh contains these lines

cd ../$NCAVE_FSHARP_REPO
git checkout export
dotnet build -c Release src/buildtools/buildtools.proj
dotnet build -c Release src/fsharp/FSharp.Compiler.Service

However @ncave 's branch (https://github.com/ncave/fsharp/tree/export) no longer contains these paths.

davedawkins avatar Jan 26 '23 11:01 davedawkins

For now, I think I can change the checkout to

git checkout export_2020-10-01

For reference, I'm trying to rebuild Sutil's REPL. I hear talk of a newer version of the REPL that allows configuration of additional modules, it's possible this might help me when it comes along.

davedawkins avatar Jan 26 '23 11:01 davedawkins

@davedawkins Sure, going back to a previous stable release makes sense, if you don't want to fix paths.

There is always churn in dotnet/fsharp so grabbing latest will sometimes be a bit different, but I try to keep the build script in the repo working (/fcs/build.sh).

At the same time, you don't always need to build the .NET metadata binaries export (unless you want to), you can just fetch them from the Fable repo (/src/fable-metadata/lib), unless you need to export them from a specific version of .NET.

Here is the current version of the build script:

dotnet build -c Release buildtools
dotnet build -c Release src/Compiler
dotnet run -c Release --project fcs/fcs-export

Again, this is just to export .NET metadata binaries, there is a separate fork for building FCS for Fable, and another for building FCS for Fable REPL.

ncave avatar Jan 26 '23 16:01 ncave

Thank you - it was just a new Fable.Repl.Lib.dll that I needed to build and export.

davedawkins avatar Jan 27 '23 00:01 davedawkins

@davedawkins Can this be closed, or is it still needed?

ncave avatar Mar 18 '23 16:03 ncave