1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh set -euxo pipefail DIR=$(cd "$(dirname "$0")" && pwd) for ext_path in $(find "$DIR/examples/" -name Cargo.toml -exec dirname {} \;); do cd "$ext_path" cargo update cd "../../" rake test done