2021-11-19 13:56:30 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
# shellcheck source=scripts/common.sh
|
|
|
|
source "${REPO_ROOT}/scripts/common.sh"
|
|
|
|
# shellcheck source=scripts/common_cmdline.sh
|
|
|
|
source "${REPO_ROOT}/scripts/common_cmdline.sh"
|
|
|
|
|
|
|
|
printTask "Compiling various other contracts and libraries..."
|
2023-06-01 16:44:23 +00:00
|
|
|
cd "$REPO_ROOT"/test/compilationTests/
|
|
|
|
for dir in */
|
|
|
|
do
|
|
|
|
echo " - $dir"
|
|
|
|
cd "$dir"
|
|
|
|
# shellcheck disable=SC2046 # These file names are not supposed to contain spaces.
|
|
|
|
compileFull --expect-warnings $(find . -name '*.sol')
|
|
|
|
cd ..
|
|
|
|
done
|