forked from openai/codex-universal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathverify.sh
More file actions
52 lines (39 loc) · 829 Bytes
/
verify.sh
File metadata and controls
52 lines (39 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/bash --login
set -euo pipefail
echo "Verifying language runtimes ..."
echo "- Python:"
python3 --version
pyenv versions | sed 's/^/ /'
echo "- Node.js:"
for version in "18" "20" "22"; do
nvm use --global "${version}"
node --version
npm --version
pnpm --version
yarn --version
npm ls -g
done
echo "- Bun:"
bun --version
echo "- Java / Gradle:"
java -version
javac -version
gradle --version | head -n 3
mvn --version | head -n 1
echo "- Swift:"
swift --version
echo "- Ruby:"
ruby --version
echo "- Rust:"
rustc --version
cargo --version
echo "- Go:"
go version
echo "- PHP:"
php --version
composer --version
echo "- Elixir:"
elixir --version
erl -version
erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell
echo "All language runtimes detected successfully."