build system: use compiler-style warning output when updating QRC

Allows editors to pick up on them & "go to next warning/error" type
key bindings to work
This commit is contained in:
Moritz Bunkus 2020-12-12 13:04:51 +01:00
parent 747c946461
commit b8549432ef
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85

View File

@ -359,7 +359,7 @@ def update_qrc
next if seen[icon] || warned[icon] next if seen[icon] || warned[icon]
next if %r{%}.match(icon) next if %r{%}.match(icon)
puts "Warning: no double-sized variant found for '#{icon}' (found first in '#{file}:#{line_num}')" puts "#{file}:#{line_num}: warning: no double-sized variant found for '#{icon}'"
warned[icon] = true warned[icon] = true
end end
end end