This commit is contained in:
2026-02-14 12:09:19 +11:00
parent c35d7b01f7
commit 8934927e9d
9 changed files with 6 additions and 463 deletions
-23
View File
@@ -1,23 +0,0 @@
@echo off
setlocal EnableDelayedExpansion
set root_path=%devenver_root%\NodeJS
set version=%~1
for /f "tokens=1,* delims= " %%a in ("%*") do set remaining_args=%%b
if "%~1"=="help" goto :help
if "%~1"=="" goto :help
if "%~1"=="--help" goto :help
if "%~1"=="/?" goto :help
goto :run
:help
echo USAGE: node_env.bat ^<version^> [^<command^>]
echo.
echo VERSIONS:
ls %root_path%
goto :eof
:run
echo [SCRIPT] Adding to path '%root_path%\%version%' and executing '%remaining_args%'
set PATH=%root_path%\%version%;%PATH%
%remaining_args%
-3
View File
@@ -1,3 +0,0 @@
@echo off
call %devenver_root%\msvc\msvc-14.34.bat
call %devenver_root%\msvc\win-sdk-22621.bat
-3
View File
@@ -1,3 +0,0 @@
@echo off
call %devenver_root%\msvc\msvc-14.41.bat
call %devenver_root%\msvc\win-sdk-22621.bat
-2
View File
@@ -1,2 +0,0 @@
@echo off
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
-2
View File
@@ -1,2 +0,0 @@
@echo off
call %devenver_root%\msvc\setup.bat
-25
View File
@@ -1,25 +0,0 @@
@echo off
setlocal EnableDelayedExpansion
set version=%~1
for /f "tokens=1,* delims= " %%a in ("%*") do set remaining_args=%%b
set root_path=%devenver_root%\NodeJS
set bin_path=%root_path%\%version%
if "%~1"=="help" goto :help
if "%~1"=="" goto :help
if "%~1"=="--help" goto :help
if "%~1"=="/?" goto :help
goto :run
:help
echo USAGE: node_env.bat ^<version^> [^<command^>]
echo.
echo VERSIONS:
ls %root_path%
goto :eof
:run
echo [SCRIPT] Adding to path '%bin_path%' and executing '%remaining_args%'
set PATH=%bin_path%;%PATH%
%remaining_args%