SAIFIINDUSTRIES's picture
Add batch 1 (YosysHQ_picorv32, alexforencich_verilog-ethernet, The-OpenROAD-Project_OpenROAD, darklife_darkriscv, corundum_corundum)
f61bac1 verified
Raw
History Blame Contribute Delete
432 Bytes
#!/usr/bin/env bash
# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2025-2026, The OpenROAD Authors
#
# Check that all TCL files are properly formatted.
set -euo pipefail
TOOL="$(realpath "$1")"
GIT="$(realpath "$2")"
GIT_LS_FILES="$(realpath "bazel/git_ls_files.sh")"
WORKSPACE="$(dirname "$(readlink -f tclint.toml)")"
cd "$WORKSPACE"
"${GIT_LS_FILES}" "${GIT}" '*.tcl' '*.sdc' '*.upf' -z | xargs -0 "${TOOL}" --check