-
Notifications
You must be signed in to change notification settings - Fork 585
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
Resolve symlinks while searching for dotnet #2662
Conversation
@Smaug123 Thanks for the PR 🚀 I suppose there is no easy way to add tests for this? Thanks |
Well, quite :P I couldn't find one, but I'm not at all familiar with the FAKE codebase. |
@Smaug123 The integration tests for Please let me know if you need more information Thanks |
I don't suppose you'd be interested if I refactored so that this could be unit tested instead? I'm shaving yaks here; FAKE doesn't work on my Nix+Apple Silicon setup, which means I can't |
This point is one of the hints/requirements for sending a PR to FAKE. So, yes absolutely, if you can find room for improvement please go ahead. Every help/improvement counts. We are currently working on the next major version of FAKE, v6. We are concerned mainly in two points:
You are welcome to help in that regard also. We are using Thanks |
@yazeedobaid I'm not at all happy with this test - the whole thing seems to be hanging together by a thread - but there's a chance you'd consider this good enough to go in? |
@Smaug123 Yes thanks a lot |
Description
Resolve the path to
dotnet
fully (traversing symlinks) when trying to find the .NET reference assemblies.This is necessary when, for example, you've installed
dotnet
using Nix. On my machine, for example:Only this final
dotnet
has apacks
directory above it.New (API-)documentation for new features exist (Note: API-docs are enough, additional docs are in
help/markdown
)unit or integration test exists (or short reasoning why it doesn't make sense)
boy scout rule: "leave the code behind in a better state than you found it" (fix warnings, obsolete members or code-style in the places you worked in)
(if new module) the module has been linked from the "Modules" menu, edit
help/templates/template.cshtml
, linking to the API-reference is fine.(if new module) the module is in the correct namespace
(if new module) the module is added to Fake.sln (
dotnet sln Fake.sln add src/app/Fake.*/Fake.*.fsproj
)Fake 5 API guideline is honored