This commit is contained in:
2026-02-13 23:15:07 +11:00
parent 989755a978
commit c35d7b01f7
5 changed files with 20 additions and 40 deletions
+4 -4
View File
@@ -16,9 +16,9 @@ virustotal_url="https://www.virustotal.com/gui/file"
option="$1"
shift
if [ "$option" = "clang" ]; then exe_dir="$clang_dir/$1/bin" && PATH="$exe_dir:$PATH" && cmd_line="$2" && shift && shift; fi
if [ "$option" = "cmake" ]; then exe_dir="$cmake_dir/$1" && PATH="$exe_dir:$PATH" && cmd_line="$2" && shift && shift; fi
if [ "$option" = "node" ]; then exe_dir="$node_dir/$1/bin" && PATH="$exe_dir:$PATH" && cmd_line="$2" && shift && shift; fi
if [ "$option" = "clang" ]; then exe_dir="$clang_dir/$1/bin" && PATH="$exe_dir:$PATH" && cmd_line="$2" && shift && shift; fi
if [ "$option" = "cmake" ]; then exe_dir="$cmake_dir/$1" && PATH="$exe_dir:$PATH" && cmd_line="$2" && shift && shift; fi
if [ "$option" = "node" ]; then exe_dir="$node_dir/$1/bin" && PATH="$exe_dir:$PATH" && cmd_line="$2" && shift && shift; fi
if [ "$option" = "python" ]; then
python_root=$python_dir/$1/install
# Shit like building UWSGI in Python via PIP with wheel doesn't seem to use
@@ -40,7 +40,7 @@ if [ "$option" = "help" ]; then
USAGE: dev [option] [args...]
NOTES:
Commands suffixed with '_env' augment the system PATH with the tool's path for the current shell session.
Commands augment the system PATH with the tool's path for the current shell session.
You can chain the commands to augment the PATH, e.g:
dev.sh python 3.12.9+20250317 dev.sh node 20.18.2 yarn build-everything