Make node environment scripts simpler
This commit is contained in:
parent
54aac5b10c
commit
dcbbfc5e85
@ -1,13 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
||||||
|
|
||||||
desired_dir=${script_dir}/../NodeJS/12.22.12/bin
|
|
||||||
desired_exe=${desired_dir}/node
|
|
||||||
PATH=${desired_dir}:${PATH}
|
|
||||||
|
|
||||||
curr_script=$(realpath "${BASH_SOURCE[0]}")
|
|
||||||
echo [DEVENVER] Executing script \"${curr_script}\" with \"${desired_exe}\"
|
|
||||||
|
|
||||||
${desired_exe} $@
|
|
||||||
|
|
8
Linux/Scripts/node-12.22.12_env.sh
Executable file
8
Linux/Scripts/node-12.22.12_env.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
curr_script=$(realpath "${BASH_SOURCE[0]}")
|
||||||
|
path_to_add=${devenver_root}/NodeJS/12.22.12/bin
|
||||||
|
echo [DEVENVER] \"${curr_script}\" is adding to path \"${path_to_add}\"
|
||||||
|
|
||||||
|
PATH=${path_to_add}:${PATH} $@
|
||||||
|
|
@ -1,13 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
||||||
|
|
||||||
desired_dir=${script_dir}/../NodeJS/16.19.0/bin
|
|
||||||
desired_exe=${desired_dir}/node
|
|
||||||
PATH=${desired_dir}:${PATH}
|
|
||||||
|
|
||||||
curr_script=$(realpath "${BASH_SOURCE[0]}")
|
|
||||||
echo [DEVENVER] Executing script \"${curr_script}\" with \"${desired_exe}\"
|
|
||||||
|
|
||||||
${desired_exe} $@
|
|
||||||
|
|
8
Linux/Scripts/node-16.19.0_env.sh
Executable file
8
Linux/Scripts/node-16.19.0_env.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
curr_script=$(realpath "${BASH_SOURCE[0]}")
|
||||||
|
path_to_add=${devenver_root}/NodeJS/16.19.0/bin
|
||||||
|
echo [DEVENVER] \"${curr_script}\" is adding to path \"${path_to_add}\"
|
||||||
|
|
||||||
|
PATH=${path_to_add}:${PATH} $@
|
||||||
|
|
@ -1,13 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
||||||
|
|
||||||
desired_dir=${script_dir}/../NodeJS/18.15.0/bin
|
|
||||||
desired_exe=${desired_dir}/node
|
|
||||||
PATH=${desired_dir}:${PATH}
|
|
||||||
|
|
||||||
curr_script=$(realpath "${BASH_SOURCE[0]}")
|
|
||||||
echo [DEVENVER] Executing script \"${curr_script}\" with \"${desired_exe}\"
|
|
||||||
|
|
||||||
${desired_exe} $@
|
|
||||||
|
|
8
Linux/Scripts/node-18.15.0_env.sh
Executable file
8
Linux/Scripts/node-18.15.0_env.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
curr_script=$(realpath "${BASH_SOURCE[0]}")
|
||||||
|
path_to_add=${devenver_root}/NodeJS/18.15.0/bin
|
||||||
|
echo [DEVENVER] \"${curr_script}\" is adding to path \"${path_to_add}\"
|
||||||
|
|
||||||
|
PATH=${path_to_add}:${PATH} $@
|
||||||
|
|
@ -1,13 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
||||||
|
|
||||||
desired_dir=${script_dir}/../NodeJS/12.22.12/bin
|
|
||||||
desired_exe=${desired_dir}/npm
|
|
||||||
PATH=${desired_dir}:${PATH}
|
|
||||||
|
|
||||||
curr_script=$(realpath "${BASH_SOURCE[0]}")
|
|
||||||
echo [DEVENVER] Executing script \"${curr_script}\" with \"${desired_exe}\"
|
|
||||||
|
|
||||||
${desired_exe} $@
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
||||||
|
|
||||||
desired_dir=${script_dir}/../NodeJS/16.19.0/bin
|
|
||||||
desired_exe=${desired_dir}/npm
|
|
||||||
PATH=${desired_dir}:${PATH}
|
|
||||||
|
|
||||||
curr_script=$(realpath "${BASH_SOURCE[0]}")
|
|
||||||
echo [DEVENVER] Executing script \"${curr_script}\" with \"${desired_exe}\"
|
|
||||||
|
|
||||||
${desired_exe} $@
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
||||||
|
|
||||||
desired_dir=${script_dir}/../NodeJS/18.15.0/bin
|
|
||||||
desired_exe=${desired_dir}/npm
|
|
||||||
PATH=${desired_dir}:${PATH}
|
|
||||||
|
|
||||||
curr_script=$(realpath "${BASH_SOURCE[0]}")
|
|
||||||
echo [DEVENVER] Executing script \"${curr_script}\" with \"${desired_exe}\"
|
|
||||||
|
|
||||||
${desired_exe} $@
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
|||||||
@echo off
|
@echo off
|
||||||
setlocal
|
setlocal
|
||||||
set path=%devenver_root%\NodeJS\12.22.12;%path%
|
set path_to_add=%devenver_root%\NodeJS\12.22.12
|
||||||
echo [DEVENVER] Executing script "%~dpnx0" with "%*"
|
set path=%path_to_add%;%path%
|
||||||
|
echo [DEVENVER] "%~dpnx0" is adding to path "%path_to_add%"
|
||||||
call %*
|
call %*
|
||||||
endlocal
|
endlocal
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
@echo off
|
@echo off
|
||||||
setlocal
|
setlocal
|
||||||
call %devenver_root%\raddbg\trunk\raddbg.exe --user %devenver_root%\raddbg\doylet.raddbg_user
|
set path_to_add=%devenver_root%\NodeJS\16.19.0
|
||||||
|
set path=%path_to_add%;%path%
|
||||||
|
echo [DEVENVER] "%~dpnx0" is adding to path "%path_to_add%"
|
||||||
|
call %*
|
||||||
endlocal
|
endlocal
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
@echo off
|
@echo off
|
||||||
setlocal
|
setlocal
|
||||||
set path=%devenver_root%\NodeJS\18.15.0;%path%
|
set path_to_add=%devenver_root%\NodeJS\18.15.0
|
||||||
echo [DEVENVER] Executing script "%~dpnx0" with "%exe_to_use%"
|
set path=%path_to_add%;%path%
|
||||||
|
echo [DEVENVER] "%~dpnx0" is adding to path "%path_to_add%"
|
||||||
call %*
|
call %*
|
||||||
endlocal
|
endlocal
|
||||||
|
Loading…
Reference in New Issue
Block a user