2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 18:08:16 +00:00
kea/meson.sh

19 lines
521 B
Bash
Raw Normal View History

#!/bin/sh
2025-02-20 15:33:23 +02:00
# Pulls the latest meson that has fix https://github.com/mesonbuild/meson/pull/13532
# for issue https://github.com/mesonbuild/meson/issues/11322.
#
# Usage: just like meson
# Example: ./meson.sh setup build
if test ! -d venv; then
python3 -m venv ./venv
./venv/bin/pip install --upgrade pip
2025-02-20 15:33:23 +02:00
./venv/bin/pip install git+https://github.com/mesonbuild/meson.git
fi
# shellcheck disable=SC1091
# SC1091: Not following: ... was not specified as input (see shellcheck -x).
. ./venv/bin/activate
meson "${@}"