summaryrefslogtreecommitdiffstats
path: root/scripts/poe-tasks/gen-constantspy
blob: f71f157751983f4bac922e87a19b5f4cabb737e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash

# ensure consistent behaviour
src_dir="$(dirname "$(realpath "$0")")"
source $src_dir/utils/_env.sh

echo
meson_setup_configure
echo
echo -----------------------------------------------
echo Copying constants.py module configured by Meson
echo -----------------------------------------------
cp -v $build_dir/python/constants.py $gitroot/python/knot_resolver/constants.py
echo