docs: add missing default stamp var (#865)
* docs: add missing default stamp var * update docs
This commit is contained in:
parent
3c0dbd5895
commit
fb950d38ae
|
@ -16,7 +16,8 @@ Stamping is typically performed on a later action in the graph, like on a linkin
|
||||||
This means that a changed status variable only causes that action, not re-compilation and thus does not cause cascading re-builds.
|
This means that a changed status variable only causes that action, not re-compilation and thus does not cause cascading re-builds.
|
||||||
|
|
||||||
Bazel provides a couple of statuses by default, such as `BUILD_EMBED_LABEL` which is the value of the `--embed_label`
|
Bazel provides a couple of statuses by default, such as `BUILD_EMBED_LABEL` which is the value of the `--embed_label`
|
||||||
argument, as well as `BUILD_HOST` and `BUILD_USER`. You can supply more with the workspace status script, see below.
|
argument, as well as `BUILD_HOST`, `BUILD_TIMESTAMP`, and `BUILD_USER`.
|
||||||
|
You can supply more with the workspace status script, see below.
|
||||||
|
|
||||||
Some rules accept an attribute that uses the status variables.
|
Some rules accept an attribute that uses the status variables.
|
||||||
They will usually say something like "subject to stamp variable replacements".
|
They will usually say something like "subject to stamp variable replacements".
|
||||||
|
|
|
@ -14,7 +14,8 @@ Stamping is typically performed on a later action in the graph, like on a linkin
|
||||||
This means that a changed status variable only causes that action, not re-compilation and thus does not cause cascading re-builds.
|
This means that a changed status variable only causes that action, not re-compilation and thus does not cause cascading re-builds.
|
||||||
|
|
||||||
Bazel provides a couple of statuses by default, such as `BUILD_EMBED_LABEL` which is the value of the `--embed_label`
|
Bazel provides a couple of statuses by default, such as `BUILD_EMBED_LABEL` which is the value of the `--embed_label`
|
||||||
argument, as well as `BUILD_HOST` and `BUILD_USER`. You can supply more with the workspace status script, see below.
|
argument, as well as `BUILD_HOST`, `BUILD_TIMESTAMP`, and `BUILD_USER`.
|
||||||
|
You can supply more with the workspace status script, see below.
|
||||||
|
|
||||||
Some rules accept an attribute that uses the status variables.
|
Some rules accept an attribute that uses the status variables.
|
||||||
They will usually say something like "subject to stamp variable replacements".
|
They will usually say something like "subject to stamp variable replacements".
|
||||||
|
|
Loading…
Reference in New Issue