Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

Commit d2c8e26

Browse files
nataliejamesonfacebook-github-bot
authored andcommitted
Document that cxx_test resources are almost noop
Summary: Currently `resources` on cxx_test are added to the rule key, but not actually used. Document this fact until we decide how we want to really implement resources. We have a few ideas, but until then... Reviewed By: cjhopman, ttsugriy fbshipit-source-id: 484035b0f8
1 parent 55d8639 commit d2c8e26

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

docs/rule/cxx_test.soy

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,18 @@ it as part of {call buck.cmd_test /}.
4141

4242
{call buck.deps_query_arg /}
4343

44-
{call test_common.resources_arg /}
44+
{call buck.arg}
45+
{param name : 'resources' /}
46+
{param default : '[]' /}
47+
{param desc}
48+
<p class="warning-banner">
49+
This attribute is currently not implemented, and just causes buck to rebuild
50+
the test file if any of the resources change. This will change in the future
51+
to provide a more reliable interface for resource files.
52+
</p>
53+
Additional data or source files which this test uses.
54+
{/param}
55+
{/call}
4556

4657
{call cxx_common.raw_headers_arg /}
4758

0 commit comments

Comments
 (0)