Cleanup
This commit is contained in:
@@ -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%
|
||||
@@ -1,3 +0,0 @@
|
||||
@echo off
|
||||
call %devenver_root%\msvc\msvc-14.34.bat
|
||||
call %devenver_root%\msvc\win-sdk-22621.bat
|
||||
@@ -1,3 +0,0 @@
|
||||
@echo off
|
||||
call %devenver_root%\msvc\msvc-14.41.bat
|
||||
call %devenver_root%\msvc\win-sdk-22621.bat
|
||||
@@ -1,2 +0,0 @@
|
||||
@echo off
|
||||
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
|
||||
@@ -1,2 +0,0 @@
|
||||
@echo off
|
||||
call %devenver_root%\msvc\setup.bat
|
||||
@@ -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%
|
||||
Reference in New Issue
Block a user