A build system allows to specify various quantities via pre-defined variables, including $file_path, $project_base_name, $file_name, and so on. But is there a way to get the line number from where the build was invoked? The variable $line isn't recognized. I would favor a "pure build system" solution, i.e., one that doesn't involve developing a Python plugin. However, that may not be possible.