bazelbuild / bazelbuild/bazel

Documentation issue: Rules Tutorial

Open
#14,905 2 comments 0 reactions 1 assignee Claimed by @jdob View on GitHub
P2 team-Documentation team-Rules-API type: documentation (cleanup)
Dominant language
Java
Stars
25.8k
Forks
4.6k
Avg merge
2d 20h
Merged PRs (30d)
72

Description

Documentation URL: https://docs.bazel.build/versions/main/skylark/rules-tutorial.html

The above page says: "In the implementation function, the target will be accessible as a [Target](https://docs.bazel.build/versions/main/skylark/lib/Target.html) object. For example, view the files returned by the target using [Target.files](https://docs.bazel.build/versions/main/skylark/lib/Target.html#modules.Target.files)."

This needs a clarification / supporting example. Target.files isn't defined in the implementation function.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.