-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPack.bat
More file actions
38 lines (26 loc) · 1.62 KB
/
Pack.bat
File metadata and controls
38 lines (26 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@echo off
REM ----------------
REM Compress-Archive
REM ----------------
PowerShell -Command "Compress-Archive -Path 'Android/ndk/27.1.12297006/toolchains/llvm/prebuilt/windows-x86_64/bin/liblldb.dll' -DestinationPath 'Android/ndk/27.1.12297006/toolchains/llvm/prebuilt/windows-x86_64/bin/liblldb.dll.zip' -Force"
IF ERRORLEVEL 1 goto ERROR
PowerShell -Command "Compress-Archive -Path 'Android/ndk/27.1.12297006/toolchains/llvm/prebuilt/windows-x86_64/lib/python3.11/site-packages/lldb/_lldb.exe' -DestinationPath 'Android/ndk/27.1.12297006/toolchains/llvm/prebuilt/windows-x86_64/lib/python3.11/site-packages/lldb/_lldb.exe.zip' -Force"
IF ERRORLEVEL 1 goto ERROR
PowerShell -Command "Compress-Archive -Path 'Android/ndk/27.1.12297006/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe' -DestinationPath 'Android/ndk/27.1.12297006/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe.zip' -Force"
IF ERRORLEVEL 1 goto ERROR
PowerShell -Command "Compress-Archive -Path 'Android/ndk/27.1.12297006/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe' -DestinationPath 'Android/ndk/27.1.12297006/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe.zip' -Force"
IF ERRORLEVEL 1 goto ERROR
PowerShell -Command "Compress-Archive -Path 'Android/ndk/27.1.12297006/toolchains/llvm/prebuilt/windows-x86_64/bin/clang-cl.exe' -DestinationPath 'Android/ndk/27.1.12297006/toolchains/llvm/prebuilt/windows-x86_64/bin/clang-cl.exe.zip' -Force"
IF ERRORLEVEL 1 goto ERROR
REM -------------------
REM FINISHED/ERROR/EXIT
REM -------------------
:FINISHED
echo.
echo Finished
PAUSE
goto EXIT
:ERROR
PAUSE
EXIT /B 1
:EXIT