8cea7dee20
- SiteForge Enterprise V8.10.0-dev.1 upstream source (210 tests) - Fix: v8_workflows._mapped_input now reads both 类型/分类 columns so WXR imports keep post/product types instead of collapsing to page - Docs: trade-pro theme port spec (R3) and implementation plan Co-Authored-By: Claude Code <noreply@anthropic.com>
16 lines
440 B
Bash
16 lines
440 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
cd "$(dirname "${BASH_SOURCE[0]}")/.."
|
|
python -m compileall -q app
|
|
python -m pytest -q
|
|
if command -v node >/dev/null 2>&1; then
|
|
for f in app/static/*.js; do node --check "$f"; done
|
|
else
|
|
echo "ERROR: Node.js required for JavaScript syntax check" >&2
|
|
exit 1
|
|
fi
|
|
if command -v docker >/dev/null 2>&1; then
|
|
docker compose config --quiet
|
|
docker compose -f compose.enterprise.yaml config --quiet
|
|
fi
|