aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/actions/Artifact.java
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2017-09-18 10:57:33 +0200
committerGravatar László Csomor <laszlocsomor@google.com>2017-09-18 11:29:30 +0200
commit137bb34a721b12a60da91b1e22083480a04990e7 (patch)
treef992399d07e4b22ab92b1bd2a676e540fe52dea1 /src/main/java/com/google/devtools/build/lib/actions/Artifact.java
parent66068997980bb3b4ee3d63f08ee16fc58c443864 (diff)
RELNOTES: Fix documentation typo.
PiperOrigin-RevId: 169060289
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/actions/Artifact.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/actions/Artifact.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/actions/Artifact.java b/src/main/java/com/google/devtools/build/lib/actions/Artifact.java
index 5847445c1f..1bde580120 100644
--- a/src/main/java/com/google/devtools/build/lib/actions/Artifact.java
+++ b/src/main/java/com/google/devtools/build/lib/actions/Artifact.java
@@ -102,7 +102,7 @@ import javax.annotation.Nullable;
+ "Files. If you have a Skylark rule that needs to create a new File, you have two options:"
+ "<ul>"
+ "<li>use <a href='actions.html#declare_file'>ctx.actions.declare_file</a> "
- + "or <a href='actions.html#declare_file'>ctx.actions.declare_director</a>to "
+ + "or <a href='actions.html#declare_directory'>ctx.actions.declare_directory</a> to "
+ "declare a new file in the rule implementation.</li>"
+ "<li>add the label to the attrs (if it's an input) or the outputs (if it's an output)."
+ " Then you can access the File through the rule's "