forked from rime/weasel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-clang-format.bat
18 lines (17 loc) · 819 Bytes
/
install-clang-format.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@echo off
if "%PROCESSOR_ARCHITECTURE%"=="AMD64" (
rem 64 bit system
rem powershell -Command "(New-Object Net.WebClient).DownloadFile('https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/LLVM-17.0.6-win64.exe', 'LLVM-17.0.6-win64.exe')"
rem LLVM-17.0.6-win64.exe /S
rem or maybe
rem output/7z.exe e LLVM-17.0.6-win64.exe bin/clang-format.exe -o.
rem rm LLVM-17.0.6-win64.exe
) else (
rem 32 bit system
rem powershell -Command "(New-Object Net.WebClient).DownloadFile('https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/LLVM-17.0.6-win32.exe', 'LLVM-17.0.6-win32.exe')"
rem LLVM-17.0.6-win32.exe /S
rem or maybe
rem output/7z.exe e LLVM-17.0.6-win32.exe bin/clang-format.exe -o.
rem rm LLVM-17.0.6-win32.exe
)
pause