chen3feng / blade-build

Blade is a powerful build system from Tencent, supports many mainstream programming languages, such as C/C++, java, scala, python, protobuf...
Other
2.05k stars 500 forks source link

Error: Target not exist, load_build_files.py may have bug #976

Closed DataTerminatorX closed 2 years ago

DataTerminatorX commented 2 years ago

Describe the bug cd blade-build/example/quick-start run blade build, no bug But run blade build :say, report error as below image

My Debugging I found the error msg comes from line 561 of blade-build/src/blade/load_build_files.py image

I added print(target_id) and print(target_database) to debug. I found that when run blade build, the target_id is correct image

but when run blade build :say, the target_id is wrong, which contains a redundant . image

System (please complete the following information):

chen3feng commented 2 years ago

Thank you, I will fix this issue recently.