]> git.ipfire.org Git - thirdparty/git.git/commit
meson: wire up development environments
authorPatrick Steinhardt <ps@pks.im>
Wed, 22 Jan 2025 12:05:48 +0000 (13:05 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Jan 2025 20:37:33 +0000 (12:37 -0800)
commit5d0cf6bb3a126725f70529f205a32b4720f81183
tree8ead94b027946fb5a3ad0991213a849deeba1103
parent53d75bd3e4f1e1d6c721fd90f9754a80caa61fd5
meson: wire up development environments

The Meson build system is able to wire up development environments. The
intent is to make build artifacts of the project available. This is
typically used to export e.g. paths to linkable libraries, which isn't
all that interesting in our context given that we don't have an official
library interface.

But what we can use this mechanism for is to expose the built Git
executables as well as the build directory. This allows users to play
around with the built Git version in the devenv, and allows them to
execute our test scripts directly with the built distribution.

Wire up this feature, which can then be used via `meson devenv` in the
build directory.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
meson.build