You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.
Hi folks,
I am looking for advice on how tp go “across” dirs with buck/bzl
My files are organized as follows:
Foo/tests/< a template test file>
Foo/srcs/< source files>
I want to create a test target per source file based off the template test file. I would like to glob the files under srcs from a BZL macro in tests. What is a good way to go about it ? I run into package boundary complaints if I try to glob at the files under srcs from tests. Is there some way tp export files from srcs so they are visible in tests ? I want to be able to process these files in a BZL macro in tests to instantiate the test targets.
Thanks for any pointers !
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi folks,
I am looking for advice on how tp go “across” dirs with buck/bzl
My files are organized as follows:
Foo/tests/< a template test file>
Foo/srcs/< source files>
I want to create a test target per source file based off the template test file. I would like to glob the files under srcs from a BZL macro in tests. What is a good way to go about it ? I run into package boundary complaints if I try to glob at the files under srcs from tests. Is there some way tp export files from srcs so they are visible in tests ? I want to be able to process these files in a BZL macro in tests to instantiate the test targets.
Thanks for any pointers !
The text was updated successfully, but these errors were encountered: