This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
#!/usr/bin/env bash
# 在容器内执行:为各子项目 npm ci,再调用仓库根脚本(路径挂载为 /work)。
set -euo pipefail
cd /work
for d in call-client broadcast-client; do
if [[ ! -f "$d/package.json" ]]; then
echo "错误: 缺少 /work/$d/package.json" >&2
exit 1
fi
(cd "$d" && npm ci)
done
exec bash /work/scripts/build-linux-deb-all.sh "$@"