aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/java.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-11-21 18:05:08 -0500
committerDylan Baker <dylan@pnwbakers.com>2023-02-22 10:32:09 -0800
commit3bbfd4d4b8b7d5de6d526c0409c4aab9f323e0e4 (patch)
treef37c40a7a45a0354ec3c495ae228d9a05abdfb08 /mesonbuild/modules/java.py
parentb6ba054d16a6a9df53dc53acf8b54eab687cfad4 (diff)
downloadmeson-3bbfd4d4b8b7d5de6d526c0409c4aab9f323e0e4.zip
meson-3bbfd4d4b8b7d5de6d526c0409c4aab9f323e0e4.tar.gz
meson-3bbfd4d4b8b7d5de6d526c0409c4aab9f323e0e4.tar.bz2
python module: move the introspection script into an external script
We write this out as an embedded string to a tempfile in order to run it, which is pretty awkward. And usually Meson's files are already files on disk, not packed into a zip, so we can simply run it directly. Since python 3.7, which is our new minimum, we can handle this well via the stdlib. (There's also mesonbuild.mesondata, but we do not need persistence in the builddir.) This also solves the problem that has always been there, of giant python programs inside strings occasionally confusing syntax highlighters. Or even, it would be nice if we had syntax highlighting for this introspection program. :D
Diffstat (limited to 'mesonbuild/modules/java.py')
0 files changed, 0 insertions, 0 deletions