hurl/bin/environment.sh
2024-04-02 17:26:47 +02:00

38 lines
495 B
Bash
Executable File

#!/bin/bash
set -Eeuo pipefail
date
echo "# os"
uname -a
echo "# python3"
if command -V python3 ; then
which python3
python3 -V
which pip
pip --version
else
echo "No python3 installed"
fi
echo "# curl"
if command -V curl ; then
which curl || true
curl --version || true
else
echo "No curl installed"
fi
echo "# rust"
if command -V rustc ; then
which rustc
rustc --version
which cargo
cargo --version
else
echo "No rust installed"
fi