Add Linux scripts for calling into custom Node/NPM versions
This commit is contained in:
parent
2862df08d8
commit
8326e730fb
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ Downloads
|
|||||||
__pycache__
|
__pycache__
|
||||||
Win
|
Win
|
||||||
Docs
|
Docs
|
||||||
|
Linux
|
||||||
|
13
Linux/Scripts/node-12.22.12.sh
Executable file
13
Linux/Scripts/node-12.22.12.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/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} $@
|
||||||
|
|
13
Linux/Scripts/node-16.19.0.sh
Executable file
13
Linux/Scripts/node-16.19.0.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/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} $@
|
||||||
|
|
13
Linux/Scripts/node-18.15.0.sh
Executable file
13
Linux/Scripts/node-18.15.0.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/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} $@
|
||||||
|
|
13
Linux/Scripts/npm-12.22.12.sh
Executable file
13
Linux/Scripts/npm-12.22.12.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/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} $@
|
||||||
|
|
13
Linux/Scripts/npm-16.19.0.sh
Executable file
13
Linux/Scripts/npm-16.19.0.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/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} $@
|
||||||
|
|
13
Linux/Scripts/npm-18.15.0.sh
Executable file
13
Linux/Scripts/npm-18.15.0.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/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} $@
|
||||||
|
|
Loading…
Reference in New Issue
Block a user