#!/usr/bin/env bash # ensure consistent behaviour src_dir="$(dirname "$(realpath "$0")")" source $src_dir/utils/_env.sh schema_file="$gitroot/doc/_static/config.schema.json" meson_setup_configure > /dev/null cp $build_dir/python/knot_resolver/constants.py $gitroot/python/knot_resolver/constants.py python -m knot_resolver.client schema > $schema_file echo New JSON schema saved to $schema_file