Module

x/vega_lite/scripts/check-schema.sh

A concise grammar of interactive graphics, built on Vega.
Latest
File
#!/usr/bin/env bash
set -euo pipefail
if grep 'Generic[^U].*Spec<' ./build/vega-lite-schema.jsonthen echo "Non-Unit Generic Spec in the schema have not been replaced." exit 1elif grep '<Field>' ./build/vega-lite-schema.jsonthen echo "...<Field> in the schema have not been replaced." exit 1elif grep -E "\]\([^/.]*\.html" ./build/vega-lite-schema.jsonthen echo "Schema description contains relative URL." exit 1else exit 0fi