marine-rs-sdk-test/examples/build.sh

14 lines
247 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
set -euo pipefail
for dir in ./*; do
# skip non-directory entries
[ -d "$dir" ] || continue
# skip if there's no build.sh in the directory
[ -e "$dir/build.sh" ] || continue
(cd "$dir"; ./build.sh)
done