aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mintro.py
AgeCommit message (Collapse)AuthorFilesLines
2017-07-20Modify mesonintrospect --dependencies so 1 element in list is 1 dependencyMartin Ejdestig1-3/+3
Makes it less awkward for tools to parse the data. Was modified to return a list, with two elements for each dependency, instead of a dictionary in ac1c929f66bde7209f1bd7e2d995dbd3949e1d8b . Closes #2018.
2017-06-19Storage object has changed so use values(). Closes #1963.Jussi Pakkanen1-1/+1
2017-05-17Use more direct dictionary literals.Elliott Sales de Andrade1-9/+3
2017-05-09mesonintrospect: Print all deps, not just those with the same nameNirbheek Chauhan1-3/+3
This breaks the API, but the original API was just broken.
2017-05-08mesonintrospect: List all installed filesQuentin Glidic1-0/+6
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-02-18mesonintrospect: Normalize install_filename in the outputNirbheek Chauhan1-1/+4
Without this, we can output a mixture of '/' and '\' on platforms where os.path.sep is '\' and prefix or outdir uses '/'. Let's always return the path in the format of the platform we're running on. This is needed to make the test_install_introspection() unittest work properly on Windows.
2017-02-18mesonintrospect: Also print builtins for --buildoptionsNirbheek Chauhan1-14/+2
This is needed to be able to introspect the value of xxxdir options such as libdir and prefix.
2017-01-26Fix mesonintrospect --installedThibault Saunier1-1/+1
The prefix has been recently added to the install data
2017-01-22mintro.py: Assume the current dir is a builddir if not specifiedNirbheek Chauhan1-20/+28
Also fix running with backends other than Ninja by not assuming that install.dat is always available.
2017-01-01style: fix E225 violationsIgor Gnatenko1-5/+5
E225: missing whitespace around operator Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-12-31Fix space before :.Jussi Pakkanen1-14/+14
2016-12-15introspect: Allow listing all installed filesThibault Saunier1-0/+13
2016-12-06Expose project information with mesonintrospect. Closes #1118.Jussi Pakkanen1-0/+16
2016-12-03mintro: Allow serializing EnvironmentVariables objectsThibault Saunier1-1/+4
Otherwise trying to introspect tests might lead to: Traceback (most recent call last): File "/home/thiblahute/devel/gstreamer/gst-build/meson/mesonintrospect.py", line 20, in <module> sys.exit(mintro.run(sys.argv[1:])) File "/home/thiblahute/devel/gstreamer/gst-build/meson/mesonbuild/mintro.py", line 213, in run list_tests(testdata) File "/home/thiblahute/devel/gstreamer/gst-build/meson/mesonbuild/mintro.py", line 178, in list_tests print(json.dumps(result)) File "/usr/lib/python3.5/json/__init__.py", line 230, in dumps return _default_encoder.encode(obj) File "/usr/lib/python3.5/json/encoder.py", line 198, in encode chunks = self.iterencode(o, _one_shot=True) File "/usr/lib/python3.5/json/encoder.py", line 256, in iterencode return _iterencode(o, 0) File "/usr/lib/python3.5/json/encoder.py", line 179, in default raise TypeError(repr(o) + " is not JSON serializable") TypeError: <mesonbuild.build.EnvironmentVariables object at 0x7f83e8fa8c18> is not JSON serializable
2016-10-30Exposes the install names of targets in introspection. Closes #829.Jussi Pakkanen1-5/+22
2016-10-07Remove shebangs on files that are not runnable and add execute bits to those ↵Jussi Pakkanen1-2/+0
that are.
2016-08-27Use context manager for file I/O.Elliott Sales de Andrade1-4/+8
There are a few cases where a context manager cannot be used, such as the logger.
2016-06-23Added minsize build type that optimizes for binary size.Jussi Pakkanen1-2/+1
2016-05-10Use CoreData.get_builtin_option() to get builtin option values.Hemmo Nieminen1-3/+3
2016-03-20Converted precompiled headers into a base option.Jussi Pakkanen1-5/+1
2016-03-20Converted coverage into a base option.Jussi Pakkanen1-5/+1
2016-03-17Fix mesonintrospect.Jussi Pakkanen1-9/+10
2016-01-16Renamed meson package to mesonbuild so that we can have a script named meson ↵Jussi Pakkanen1-0/+212
in the same toplevel dir.