Add Chromium-only Blender WebEngine parity work
This commit is contained in:
26
tools/web/check-baseline.sh
Executable file
26
tools/web/check-baseline.sh
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
workspace_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
||||
cd "${workspace_root}"
|
||||
|
||||
required_paths=(
|
||||
"blender-5.2.0/CMakeLists.txt"
|
||||
"build_blender_5.2.0/bin/blender"
|
||||
"docs/decisions/000-baseline.md"
|
||||
"tests/files/web/empty.blend"
|
||||
"tests/files/web/basic_scene.blend"
|
||||
"tests/files/web/manifest.json"
|
||||
)
|
||||
|
||||
for path in "${required_paths[@]}"; do
|
||||
test -e "${path}" || { printf 'missing: %s\n' "${path}" >&2; exit 1; }
|
||||
done
|
||||
|
||||
grep -q 'Blender 5.2.0' <(build_blender_5.2.0/bin/blender --version)
|
||||
command -v cmake >/dev/null
|
||||
command -v ninja >/dev/null
|
||||
command -v emcc >/dev/null
|
||||
command -v node >/dev/null
|
||||
|
||||
printf 'baseline-ok\n'
|
||||
Reference in New Issue
Block a user