Skip to content
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

能否支持像 subpackages 等的工具函数 #1009

Open
TOMO-CAT opened this issue Mar 25, 2023 · 0 comments
Open

能否支持像 subpackages 等的工具函数 #1009

TOMO-CAT opened this issue Mar 25, 2023 · 0 comments

Comments

@TOMO-CAT
Copy link

举个 bazel 的例子:

_DPES = [
    "//{}".format(dep) for dep in subpackages(include = ["**"])
]

cc_library(
    name = "xx",
    deps = _DEPS,
)

看了 blade 构建函数文档好像只支持 glob 函数,后续会支持其他工具函数吗?

另外 blade 扩展 应该可以实现这个功能,但能内置这些工具函数自然更好,另外请问下扩展支持 import 吗?看 src/test/test_data/test_extension 中没给出相关例子

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant