Comments (7)
Bot detected the issue body's language is not English, translate it automatically.
Title: Multi-target completion fails under the bash command line & no error is reported when entering an incorrect target name
Xmake version
2.9.3
Operating system version and architecture
Ubuntu 20.04
Describe the problem
1.[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.
2. When entering xmake build [a target name that does not exist], no error will be reported
The above two problems do not exist in old versions 2.6 and 7
Expected results
1.[bash command line] can complete correctly
2. When entering a target name that does not exist, an error can be reported
Project configuration
As attached
test_xmake_2.zip
Additional information and error logs
None
from xmake.
暂时没空看这个,可以直接来个 pr 过来
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
I don’t have time to read this at the moment, so I can send you a PR directly.
from xmake.
补全问题我周末提一个 pr 过来,但是在查看输入错误目标名不报错的问题的时候,发现里面的逻辑链很深,不知道怎么解决,而且在查看的过程中发现里面有 xmake build -g [组名] 这个功能也是不行,建议重新梳理一下 build 的流程,我感觉里面会有不少的 bug
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
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.
from xmake.
个人感觉一些基础的功能是大多数用户最常接触到,对项目的口碑影响相对于那些复杂的功能更大,就像8-2原则,如果存在多个这些问题,会很劝退新手,希望 xmake 越来越好
from xmake.
Bot detected the issue body's language is not English, translate it automatically.
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.
from xmake.
Related Issues (20)
- links not found when add_deps("openmp") HOT 10
- 支持在 xmake-repo 下发 toolchain 和 opiton HOT 9
- 添加`qt5widget`包后,xmake的qt规则无法自动识别qt路径 HOT 7
- How to set llvm-rc's options on msys2/clangarm64? HOT 1
- No way to set build type in `qt.deploy.flags` passed to windeployqt HOT 1
- Improve copy pdb when using ninja on Windows HOT 11
- 引用外部库时如何使用预编译头文件的功能 HOT 5
- 解决rc文件不会重新编译的问题 HOT 15
- 升级 xmake 后,包构建失败:package(nlohmann-json): links not found! HOT 4
- Linux系统编译多出-framework选项 HOT 13
- Cannot create static library providing C++ module HOT 13
- 多target的项目中,使用add_shflags("/NOENTRY")的纯资源动态库项目会对其它shared项目产生影响 HOT 3
- 本地定义的 package 无法替换掉间接依赖 HOT 27
- 无法安装依赖 HOT 7
- compile_commands.json 中的 ifc 文件相对路径无法被 VS Code IntelliSense 识别 HOT 8
- Qt deploy with MinGW is not working in release mode HOT 8
- set_warnings 隔离 nvcc 和 cxx HOT 15
- cannot build shared memory with MSVC module HOT 1
- Add bindirs for package
- Add `utils.binary.rpath` native implemetion
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmake.