-
-
Notifications
You must be signed in to change notification settings - Fork 21
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 fantomas for formatting #80
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎸
dotnet fantomas . | ||
dotnet build -c Release | ||
dotnet run --project src/FSharp.Analyzers.Cli/FSharp.Analyzers.Cli.fsproj -- --project ./samples/OptionAnalyzer/OptionAnalyzer.fsproj --analyzers-path ./samples/OptionAnalyzer/bin/Release --verbose |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As an aside, this is what frustrates me about not having a build script. "Remember to do all these steps we gotta keep in sync with our CI yml that we're totally gonna remember to keep in sync"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you be game for https://github.com/slaveOftime/Fun.Build?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can give it a try. cc @baronfel
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nojaf floated this to me the other day - I'm ok with it, but lacking FSX script caching makes me sad. I'd prefer generally to push data/tasks into MSBuild targets as much as possible because that doesn't require any additional tooling. I understand that not everyone feels the same, however.
Check formatting during CI.
I took some settings from the G-Research style guide. Call it a guilty pleasure.