blob: 4fc9d7457217625858532f4c012c5661f4578b68 [file] [log] [blame]
#!/bin/bash
# Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
# A script that dumps the current environment, plus the versions of
# various tools to stdout.
set -e
tools=(
git
python3
yapf
isort
clang-format
rustfmt
flake8
ninja
doxygen
verible-verilog-lint
)
for tool in "${tools[@]}"; do
set -x
$tool --version
{ set +x; } 2>/dev/null
echo
done
set -x
echo "PATH=$PATH"
{ set +x; } 2>/dev/null
echo
set -x
printenv