diff --git a/scripts/build.sh b/scripts/build.sh index e374c72e..f4b5dffb 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -3,7 +3,7 @@ rm -rf abi && mkdir -p abi/examples rm -rf typescript-types && mkdir typescript-types -for dir in ./examples/*/; do +for dir in ./examples/*/ ./omnichain/*/; do subdir=$(echo $dir | cut -d'/' -f2) cd $dir && yarn && npx hardhat compile --force && cp -r artifacts/contracts/* ../../abi/examples/ && cd ../../;