Logo
Explore Help
Sign In
starred/terminal
1
0
Fork 0
You've already forked terminal
mirror of https://github.com/microsoft/terminal.git synced 2026-07-08 18:16:28 +00:00
Code Issues 19.0k Packages Projects Releases 20 Wiki Activity
Files
9853bc96076e811cef5eab4469095fc9be58201e
terminal/tools/runformat.cmd

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
138 B
Batchfile
Raw Normal View History

add clang-format conf to the project, format the c++ code (#1141)
2019-06-11 13:27:09 -07:00
@echo off
rem run clang-format on c++ files
Update formatting scripts for Preview-only VS and pwsh 7 (#20312) This is a pair of changes to make the code formatting scripts work, circa 2026. * If you only have VS Insiders installed, then vswhere can't actually find a clang-format to build with. You need `-prerelease` to let it also find preview builds of VS. * Years ago we updated OpenConsole.psm1 to only support pwsh 7. I, of course, use `cmd` as my dev env for terminal, so I use `runformat.cmd`, which always shelled to `powershell` (5). This updates that tool to use pwsh 7. Clearly this impacted only me ever. related to #20162
2026-06-11 17:02:51 -05:00
pwsh -noprofile -c "import-module %OPENCON_TOOLS%\openconsole.psm1; Invoke-CodeFormat"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 235ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API