build.sh
#!/bin/bash# Copyright 2017-2021 @polkadot/ts authors & contributors# SPDX-License-Identifier: ISC rm -rf buildmkdir -p build cd typesDIRS=( $(ls -1d *) ) for DIR in "${DIRS[@]}"; do if [ -d "$DIR" ] && [ -f "$DIR/index.d.ts" ]; then echo "" echo "*** Copying $DIR" cp -r $DIR ../build/ fidone cd ..exit 0