You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
interpreter: materialize Files from generated sources
Instead of keeping them as strings, lets be smarter. This code attempts
to do the following:
- detect that a string is a path into the build directory
- match that string to the output of a target or configure_file
- convert the string to a file
- give a helpful warning and/or deprecation message
- error if the string cannot be matched
This allows us to get rid of the strict check to
`source_strings_to_files`, since we only allowed that in one case
(inside BuildTarget), and moves to fully deprecating that now that the
only known case has been removed (vala gir)
Copy file name to clipboardexpand all lines: test cases/common/49 custom target/test.json
+9
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,13 @@
1
1
{
2
+
"stdout": [
3
+
{
4
+
"line": "test cases/common/49 custom target/meson.build:23: DEPRECATION: Building a string path to a generated file that is part of bindat Use the target directly as as source, or, for custom_targets, index into the output. If you cannot get the desired output for some reason, please file an issue."
5
+
},
6
+
{
7
+
"line": "test cases/common/49 custom target/meson.build:70: WARNING: Attempted to build a path to a file, '.*/non-existant-file', in the build directory which is not a declared output of a target or configure_file. This is likely to lead to race conditions and other intermittant build failures. You should use the outputs of the target creating '.*/non-existant-file'. If you cannot get a reference to the desired output for some reason, please file an issue.",
"line": "test cases/vala/9 gir/meson.build:13: WARNING: Project targets '>= 1.4.0' but uses feature deprecated since '1.4.0': building paths to Vala generated gir files. Use target.get_gir() instead"
0 commit comments