feat: sync httpdns sdk/platform updates without large binaries

This commit is contained in:
robin
2026-03-04 17:59:14 +08:00
parent 853897a6f8
commit 532891fad0
700 changed files with 6096 additions and 2712 deletions

View File

@@ -3,5 +3,10 @@
# generate 'internal/setup/sql.json' file
CWD="$(dirname "$0")"
SQL_JSON="${CWD}/../internal/setup/sql.json"
go run "${CWD}"/../cmd/sql-dump/main.go -dir="${CWD}"
if [ -f "$SQL_JSON" ]; then
echo "sql.json already exists, skipping sql-dump (delete it manually to regenerate)"
else
go run "${CWD}"/../cmd/sql-dump/main.go -dir="${CWD}"
fi