26 lines
352 B
Bash
Executable File
26 lines
352 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -Eeuo pipefail
|
|
|
|
shopt -s nullglob
|
|
|
|
pushd "$(dirname "$0")" >/dev/null
|
|
|
|
pushd runners >/dev/null
|
|
npm i
|
|
|
|
for r in *; do
|
|
if [[ ! -d "$r" ]] || [[ "$r" == "node_modules" ]]; then
|
|
continue
|
|
fi
|
|
echo "Building $r..."
|
|
pushd "$r" >/dev/null
|
|
./build
|
|
popd >/dev/null
|
|
done
|
|
popd >/dev/null
|
|
|
|
echo "All done!"
|
|
|
|
popd >/dev/null
|