mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
compileFull(): Use find instead of /*/*, which requires ignoring missing files
This commit is contained in:
parent
4054e2a28f
commit
476c76b54e
@ -20,7 +20,7 @@
|
|||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
YULARGS=(--strict-assembly)
|
YULARGS=(--strict-assembly)
|
||||||
FULLARGS=(--optimize --ignore-missing --combined-json "abi,asm,ast,bin,bin-runtime,devdoc,hashes,metadata,opcodes,srcmap,srcmap-runtime,userdoc")
|
FULLARGS=(--optimize --combined-json "abi,asm,ast,bin,bin-runtime,devdoc,hashes,metadata,opcodes,srcmap,srcmap-runtime,userdoc")
|
||||||
OLDARGS=(--optimize --combined-json "abi,asm,ast,bin,bin-runtime,devdoc,interface,metadata,opcodes,srcmap,srcmap-runtime,userdoc")
|
OLDARGS=(--optimize --combined-json "abi,asm,ast,bin,bin-runtime,devdoc,interface,metadata,opcodes,srcmap,srcmap-runtime,userdoc")
|
||||||
function compileFull()
|
function compileFull()
|
||||||
{
|
{
|
||||||
|
@ -424,7 +424,8 @@ printTask "Compiling various other contracts and libraries..."
|
|||||||
do
|
do
|
||||||
echo " - $dir"
|
echo " - $dir"
|
||||||
cd "$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 ..
|
cd ..
|
||||||
done
|
done
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user