terminal/build/scripts
Mike Griese 3323dc5724
Auto-format our XAML files and enforce in CI (#9589)
This adds [`XamlStyler.Console`] to our solution, and calls it when we
format the code, to also format
our .xaml files. 
* `XamlStyler.Console` is a dotnet tool so it needs to be restored with
  `dotnet tool restore`
* I've added a set of rules to approximately follow [@cmaneu's XAML guidelines].
  Those guidelines also recommend things based on the code-behind, which
  this tool can't figure out, but also _don't matter that much_.
* There's an extra step to strip BOMs from the output, since Xaml Styler
  adds a BOM by default. Some had them before and others didn't. BOMs
  have been nothing but trouble though.

[`XamlStyler.Console`]: https://github.com/Xavalon/XamlStyler
[@cmaneu's XAML guidelines]: https://github.com/cmaneu/xaml-coding-guidelines
2021-03-29 17:09:38 -05:00
..
Create-AppxBundle.ps1 Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
Generate-ThirdPartyNotices.ps1 On second thought, embed the third-party notices in the package (#5673) 2020-04-30 15:06:13 -07:00
Get-WttLog.ps1 Helix Testing (#6992) 2020-08-18 18:23:24 +00:00
Index-Pdbs.ps1 Turn source linking back on for WinDBG style 2019-10-09 12:27:39 -07:00
Invoke-FormattingCheck.ps1 Auto-format our XAML files and enforce in CI (#9589) 2021-03-29 17:09:38 -05:00
Run-Tests.ps1 Helix Testing (#6992) 2020-08-18 18:23:24 +00:00
Test-WindowsTerminalPackage.ps1 Rename Microsoft.Terminal.TerminalControl to .Control; Split into dll & lib (#9472) 2021-03-17 20:47:24 +00:00