Files
asset_helper/backend/scripts/gen-proto.sh
2026-03-28 19:52:35 +08:00

13 lines
285 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
# Docker 内编译 proto 脚本
echo "Generating proto files..."
# 进入脚本所在目录的父目录backend 目录)
cd "$(dirname "$0")/.." || exit 1
# 运行 proto-builder 容器
docker compose run --rm proto-builder
echo "Proto files generated successfully!"