-
-
Notifications
You must be signed in to change notification settings - Fork 818
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bash命令行下的多目标补全失败 & 输入错误目标名不报错 #5259
Comments
Title: Multi-target completion fails under the bash command line & no error is reported when entering an incorrect target name Xmake version2.9.3 Operating system version and architectureUbuntu 20.04 Describe the problem1.[bash command line] When there are multiple targets on the warehouse, xmake build cannot complete based on the first letter. Currently, it will only prompt all targets. Expected results1.[bash command line] can complete correctly Project configurationAs attached Additional information and error logsNone |
暂时没空看这个,可以直接来个 pr 过来 |
I don’t have time to read this at the moment, so I can send you a PR directly. |
补全问题我周末提一个 pr 过来,但是在查看输入错误目标名不报错的问题的时候,发现里面的逻辑链很深,不知道怎么解决,而且在查看的过程中发现里面有 xmake build -g [组名] 这个功能也是不行,建议重新梳理一下 build 的流程,我感觉里面会有不少的 bug |
I submitted a PR over the weekend to complete the problem, but when I checked the problem of not reporting an error when entering an incorrect target name, I found that the logic chain inside was very deep and I didn’t know how to solve it. During the review process, I found that there was xmake build -g in it. [Group name] This function is not working. I suggest you reorganize the build process. I feel there will be a lot of bugs in it. |
个人感觉一些基础的功能是大多数用户最常接触到,对项目的口碑影响相对于那些复杂的功能更大,就像8-2原则,如果存在多个这些问题,会很劝退新手,希望 xmake 越来越好 |
Personally, I feel that some basic functions are most commonly encountered by most users and have a greater impact on the reputation of the project than those with complex functions. If there are multiple of these problems, it will be very discouraging for newbies. I hope xmake will get better and better. |
Xmake 版本
2.9.3
操作系统版本和架构
Ubuntu 20.04
描述问题
1.[bash命令行]当仓库上存在多个目标的时候,xmake build 无法根据首字母进行补全,当前只会提示所有目标
2.当输入 xmake build [一个不存在目标名],不会报错
上面两个问题在旧版本 2.6,7 上是不存在的
期待的结果
1.[bash命令行]能够正确地进行补全
2.输入不存在的目标名的时候,能够报错
工程配置
如附件
test_xmake_2.zip
附加信息和错误日志
无
The text was updated successfully, but these errors were encountered: