Skip to content

Use withFramework instead of legacy API - #2397

Merged
matthid merged 3 commits into
fsprojects:release/nextfrom
wallymathieu:align-fsc-with-docs-#2395
Oct 10, 2019
Merged

matthid merged 3 commits into
fsprojects:release/nextfrom
wallymathieu:align-fsc-with-docs-#2395

Conversation

@wallymathieu

@wallymathieu wallymathieu commented Sep 24, 2019 •

Copy link
Copy Markdown
Member

Description

Use CreateProcess API in order to be able to use withFramework to fix behavior on *nix systems.

Added a String.splitLines in order to split error string into lines.

TODO

Feel free to open the PR and ask for help

@wallymathieu

Copy link
Copy Markdown
Member Author

Does this look OK @matthid ?

@matthid matthid left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally, the change is OK. I think instead of "fixing" the new public API an alternative would be to "inline" the function as private function into Fake.DotNet.Fsc if you don't want to go down the other way

Comment thread src/app/Fake.Core.String/String.fs Resolved
@wallymathieu
wallymathieu force-pushed the align-fsc-with-docs-#2395 branch from 7faa3dd to 2a4cdb1 Compare October 7, 2019 15:25
@wallymathieu
wallymathieu requested a review from matthid October 7, 2019 16:04
@matthid

matthid commented Oct 7, 2019

Copy link
Copy Markdown
Member

Any interest in adding a test for the change? (it will take a bit for me to get everything green again anyway)

@matthid

matthid commented Oct 8, 2019

Copy link
Copy Markdown
Member

Please also merge release/next in order to get a green build

@wallymathieu

Copy link
Copy Markdown
Member Author

I'll try to find time to add some tests

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.

Fsc.compileExternal documentation suggests possible to use with exe

2 participants