compileFull(): Use find instead of /*/*, which requires ignoring missing files

This commit is contained in:
Kamil Śliwak
2021-10-06 18:46:42 +02:00
parent 4054e2a28f
commit 476c76b54e
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -424,7 +424,8 @@ printTask "Compiling various other contracts and libraries..."
do
echo " - $dir"
cd "$dir"
compileFull --expect-warnings ./*.sol ./*/*.sol
# shellcheck disable=SC2046 # These file names are not supposed to contain spaces.
compileFull --expect-warnings $(find . -name '*.sol')
cd ..
done
)