Skip to content

Conversation

@KevinRansom
Copy link
Contributor

The dotnet cli uses RunFsc.cmd and RunFsc.sh to execute the FSharp command in the build task using a single command.

There is an issue with this on those rare Linux packagings that don't have a bash shell configured.

This change, modifies the way the fsharp build task executes the fsharp compiler.

We now use the DotnetFscCompilerPath property to be the path to the F# compiler executable.
FscToolPath and FSCToolExe now point to the dotnet.exe specified in the guaranteed global property DOTNET_HOST_PATH.

What's nice about this, is that no sdk changes are necessary.

@KevinRansom KevinRansom requested a review from brettfo November 9, 2018 04:34
@nguerrera
Copy link

Why aren't the scripts deleted?

@baronfel baronfel mentioned this pull request Nov 9, 2018
2 tasks
@KevinRansom
Copy link
Contributor Author

@nguerrera ---

The scripts are deployed from the net cli here: https://github.com/dotnet/cli/tree/release/2.2.2xx/src/tool_fsharp

When we insert the F# package into dotnet cli, we will updtae the project, and delete them at that time.

Kevin

@KevinRansom KevinRansom merged commit 5ae8597 into dotnet:master Nov 12, 2018
KevinRansom pushed a commit that referenced this pull request Nov 13, 2018
* Remove dependence on runfsc.cmd and runfsc.sh (#5882)

* Remove dependence on runfsc.cmd and runfsc.sh

* White space

* Add TryExactlyOne for array, list and seq. (#5804)

* FS-1065 Value Option Parity (#5772)

* Initial FS-1065 implementation

* Undo removal of compilationrepresentation suffix and update surface area

* Whoopise, add the suffix to the impl file

* Update coreclr surface area

* Revert the FSComp changes that somehow got picked up

* newline

* Consume internal VOption module functions

* More internal voption module functions
wli3 pushed a commit to wli3/core-sdk that referenced this pull request Feb 11, 2019
Per dotnet/fsharp#5882
This file is no longer needed and removed
@KevinRansom KevinRansom deleted the removefsccmd branch February 28, 2019 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants