-
-
Notifications
You must be signed in to change notification settings - Fork 820
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
Add xmake show
plugin to show some builtin configuration values and infos
#798
Comments
Show basic information
|
Show the given target infomation
|
Show toolchains
|
能不能加个类似 |
#836 (comment) 我之前说的方式 试过没有,我发现你也真纠结。。 https://github.com/xmake-io/xmake-vscode/blob/master/assets/targetpath.lua 这里又实现方式,你可以个pr进来。 |
|
https://github.com/xmake-io/xmake/tree/master/xmake/plugins/show 另外,命令改成 |
显示可执行文件的路径,那xxx是什么? |
targetname啊,不然一个工程多个target,你要显示那个target路径? |
对 |
这有什么好不直观的,--help里面描述清楚不就好了,我刚只是随手敲的 xmake show --targetpath=[targetname] |
我看了下,这些语义都通的 |
加这反而不好,先算了 |
那你就自己本地搞个 get_targetname.lua 然后用 xmake lua xxxx.lua 直接调用获取么,不也很方便,https://github.com/xmake-io/xmake-vscode/blob/master/assets/targetpath.lua |
$ xmake show -l envs
XMAKE_TMPDIR Set the temporary directory.
/var/folders/32/w9cz0y_14hs19lkbs6v6_fm80000gn/T/.xmake501/200622
XMAKE_LOGFILE Set the log output file path.
<empty>
XMAKE_ROOT Allow xmake to run under root.
<empty>
XMAKE_RAMDIR Set the ramdisk directory.
<empty>
XMAKE_CONFIGDIR Set the local config directory of project.
/Users/ruki/projects/personal/tbox/.xmake/macosx/x86_64
XMAKE_COLORTERM Set the color terminal environment.
<empty>
XMAKE_PROGRAM_DIR Set the program scripts directory of xmake.
/Users/ruki/.local/share/xmake
XMAKE_GLOBALDIR Set the global config directory of xmake.
/Users/ruki/.xmake |
这个插件的预期用途是啥样的啊?只是打出来看看吗? 要和其他工具交互的话最好有个 |
暂时目的只是为了打出来看,当然支持输出json和其他程序交互也可以搞 |
这个先这样吧,等回头有需求 按需改进扩展 显示各种信息。 |
The text was updated successfully, but these errors were encountered: