summaryrefslogtreecommitdiff
path: root/test cases/unit/35 dist script
AgeCommit message (Collapse)Author
2024-08-15unittests: fix git dist test on Windows with Python < 3.8Dylan Baker
pathlib.Path objects are not supported in subprocess calls on Windows before Python 3.8, so we must convert to a string.
2024-02-12Add MESONREWRITE to `meson dist` scriptsJouke Witteveen
Fixes #688
2022-03-24Make compilers list per subprojectXavier Claessens
Previously subprojects inherited languages already added by main project, or any previous subproject. This change to have a list of compilers per interpreters, which means that if a subproject does not add 'c' language it won't be able to compile .c files any more, even if main project added the 'c' language. This delays processing list of compilers until the interpreter adds the BuildTarget into its list of targets. That way the interpreter can add missing languages instead of duplicating that logic into BuildTarget for the cython case.
2021-03-18Allow add_dist_script() in subprojectsXavier Claessens
Fixes: #8440.
2020-04-30allow postconf and dist scripts to use Files, ExternalPrograms, andDylan Baker
ConfigureFiles These things are all known to be ready when these scripts are run, and thus they can safely consume them.
2018-10-04Make custom dist scripts accept arguments.Jan Tojnar
meson.add_dist_script, introduced in #3906, did not accept any arguments other than script name. Since all other meson.add_*_script methods do accept args, this makes the dist script accept them as well.
2018-09-13Fix flake8 'imported but unused' reportsJon Turney
$ flake8 | grep F401 ./mesonbuild/compilers/d.py:19:1: F401 '.compilers.GCC_CYGWIN' imported but unused ./test cases/unit/35 dist script/replacer.py:3:1: F401 'sys' imported but unused
2018-08-27Add support for custom dist scripts.Jussi Pakkanen