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

Use ProjInfo for generating project args/options in tests. #20

Open
safesparrow opened this issue Nov 15, 2022 · 0 comments
Open

Use ProjInfo for generating project args/options in tests. #20

safesparrow opened this issue Nov 15, 2022 · 0 comments

Comments

@safesparrow
Copy link
Owner

safesparrow commented Nov 15, 2022

Plan:

  1. Create a dotnet tool that calls ProjInfo, generates fsc args (and optionally FSharpOptions) and saves them in a file
  2. Unit tests/other endpoints invoke it via dotnet generator Project.fsproj and read the args

Current state:

  • projinfo_for_tests branch contains code
  • Instead of a dotnet tool, ArgsGenerator project is inside the codebase
  • There is an issue with ProjInfo where it doesn't set the right MSBuild properties and the args it returns do not allow for successful compilation/type-checking - talking to ProjInfo maintainers atm.
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

No branches or pull requests

1 participant