mesonbuild/meson

Improve error message while importing subproject

開放

#2,098 建立於 2017年7月21日

 (1 則留言) (1 個反應) (0 位負責人)Python (1,465 個分叉)batch import
bughelp wantedparser/interpreter

倉庫指標

星標
 (4,978 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

If you import a wrapped project with errors in its build definition will produce an error: Also couldn't find a fallback subproject in subprojects/<project_name> for the dependency <dep_name>

While the error could just be a wrong spelled source file in subprojects/<project_name>/*/meson.build. We expect it to say that the project has errors not that the project doesn't exist.

As sample: This project imports the subproject without error except that it doesn't build(not completed yet..). This project shows the error while I just added a wrong source file in the subproject build definition.

貢獻者指南