diff options
author | Damien Martin-Guillerez <dmarting@google.com> | 2016-10-28 10:01:24 +0000 |
---|---|---|
committer | John Cater <jcater@google.com> | 2016-10-28 16:02:51 +0000 |
commit | ba306ec7c9bef5369cacebc8248350dd077381c3 (patch) | |
tree | 199a6e84da9fc5327a98fbfd158f3b8ec39f2452 /site/designs/_posts | |
parent | 0adc29a998f5ae9639f59a10467b7a921093aa03 (diff) |
Global cleanup change.
--
MOS_MIGRATED_REVID=137494506
Diffstat (limited to 'site/designs/_posts')
5 files changed, 12 insertions, 12 deletions
diff --git a/site/designs/_posts/2016-02-16-cpp-autoconf.md b/site/designs/_posts/2016-02-16-cpp-autoconf.md index c80fc8cb62..650efd9ec8 100644 --- a/site/designs/_posts/2016-02-16-cpp-autoconf.md +++ b/site/designs/_posts/2016-02-16-cpp-autoconf.md @@ -131,7 +131,7 @@ To ease the writing of crosstool, we should also provide a `template(path, label, variables)` method which will write the file pointed by path using the file pointed by label (should be a FileValue) in which variables have been replaced in the same way that -[template_action](http://bazel.io/docs/skylark/lib/ctx.html#template_action) +[template_action](http://bazel.build/docs/skylark/lib/ctx.html#template_action) works. ## Rollout plan diff --git a/site/designs/_posts/2016-05-23-beautiful-error-messages.md b/site/designs/_posts/2016-05-23-beautiful-error-messages.md index dd8d0e569a..6f1852d8af 100644 --- a/site/designs/_posts/2016-05-23-beautiful-error-messages.md +++ b/site/designs/_posts/2016-05-23-beautiful-error-messages.md @@ -84,7 +84,7 @@ Suggested: <pre><code>ERROR: /path/BUILD:6:16: <strong>my\_obj of type 'select' is not iterable.</strong> You can iterate only on string, lists, tuples, or dicts. t = [x for x in my\_obj] ^----- -Related documentation: http://www.bazel.io/docs/be/functions.html#select +Related documentation: http://www.bazel.build/docs/be/functions.html#select </code></pre> *** @@ -115,7 +115,7 @@ Suggested: glob(["*.cc"], excludes = ["foo.cc"]) ^------- exclude -Related documentation: http://www.bazel.io/docs/be/functions.html#glob +Related documentation: http://www.bazel.build/docs/be/functions.html#glob </code></pre> *** @@ -149,7 +149,7 @@ Suggested: deps = ":lib", ^----- [":lib"] -Related documentation: http://www.bazel.io/docs/be/c-cpp.html#cc\_library +Related documentation: http://www.bazel.build/docs/be/c-cpp.html#cc\_library </code></pre> *** @@ -169,7 +169,7 @@ Suggested: deps = VAR, ^-- [VAR] -Related documentation: http://www.bazel.io/docs/be/c-cpp.html#cc\_library +Related documentation: http://www.bazel.build/docs/be/c-cpp.html#cc\_library </code></pre> *** @@ -188,7 +188,7 @@ Suggested: deps = ["/test:foo.cc"], ^------------- "//test:foo.cc" -Related documentation: http://www.bazel.io/docs/build-ref.html#labels +Related documentation: http://www.bazel.build/docs/build-ref.html#labels </code></pre> *** @@ -209,7 +209,7 @@ Current: </code></pre> Suggested: <pre><code>ERROR: /path/BUILD:3:12: <strong>In srcs attribute of //test:name (cc\_library), '//test:x' does not produce any cc\_library srcs files</strong> (expected extension .cc, .cpp, .cxx, .c++, .C, .c, .h, .hh, .hpp, .hxx, .inc, .S, .s, .asm, .a, .pic.a, .lo, .pic.lo, .so, .dylib, .o or .pic.o). <strong>Target //test:x (genrule) generated 'file.ext'</strong>. -Related documentation: http://www.bazel.io/docs/be/c-cpp.html#cc\_library +Related documentation: http://www.bazel.build/docs/be/c-cpp.html#cc\_library </code></pre> *** @@ -227,7 +227,7 @@ Suggested: <pre><code>ERROR: /path/BUILD:3:5: <strong>In deps attribute of //test:name (cc\_library), '//base:scheduling\_domain-test' (cc\_library) is marked as testonly.</strong> You may either add: testonly = 1 to //test:name definition, or remove testonly from //base:scheduling\_domain-test, or remove the dependency. -Related documentation: http://www.bazel.io/docs/be/common-definitions.html#common.testonly +Related documentation: http://www.bazel.build/docs/be/common-definitions.html#common.testonly </code></pre> *** @@ -244,7 +244,7 @@ Current: Suggested: <pre><code>ERROR: /path/BUILD:3:5: <strong>In srcs attribute of //test:name (cc\_library), '//base:arena.cc' (file) is not visible.</strong> You may change the visibility of the file using exports\_file, or expose the file via a library rule, or remove the dependency. //base:arena.cc has currently private visibility. -Related documentation: http://www.bazel.io/docs/be/common-definitions.html#common.visibility +Related documentation: http://www.bazel.build/docs/be/common-definitions.html#common.visibility </code></pre> *** diff --git a/site/designs/_posts/2016-06-02-sandboxing.md b/site/designs/_posts/2016-06-02-sandboxing.md index 99c9598575..579bd11b11 100644 --- a/site/designs/_posts/2016-06-02-sandboxing.md +++ b/site/designs/_posts/2016-06-02-sandboxing.md @@ -115,7 +115,7 @@ included in the environment of a Spawn is: (as we currently do). * If a rule declares its need for an environment variable, take it. * We already have an [“env” attribute in Skylark actions] - (http://www.bazel.io/docs/skylark/lib/ctx.html#action) that allows one to + (http://www.bazel.build/docs/skylark/lib/ctx.html#action) that allows one to set variables to hard-coded strings, we have `use_default_shell_env` in Skylark actions, which pulls in `PATH` and `TMPDIR`, but we don't have any way to just say "This rule needs this environment variable". Laurent diff --git a/site/designs/_posts/2016-08-04-extensibility-for-native-rules.md b/site/designs/_posts/2016-08-04-extensibility-for-native-rules.md index 7a70b17c1c..2b1c258587 100644 --- a/site/designs/_posts/2016-08-04-extensibility-for-native-rules.md +++ b/site/designs/_posts/2016-08-04-extensibility-for-native-rules.md @@ -89,7 +89,7 @@ native rule implementation (lang.java.compile) both consumes the entire providers from dependencies and returns the provider that needs to be returned from the rule. `lang.java.transitive` is a function that passes all the transitive information correctly from dependencies. The [existing '.java' -provider](http://www.bazel.io/docs/skylark/lib/JavaSkylarkApiProvider.html) +provider](http://www.bazel.build/docs/skylark/lib/JavaSkylarkApiProvider.html) becomes the same thing as lang.java.provider. Note: for the sake for this document we are placing things in lang.java. There diff --git a/site/designs/_posts/2016-09-05-build-python-on-windows.md b/site/designs/_posts/2016-09-05-build-python-on-windows.md index b60668becf..9018da50d6 100644 --- a/site/designs/_posts/2016-09-05-build-python-on-windows.md +++ b/site/designs/_posts/2016-09-05-build-python-on-windows.md @@ -30,7 +30,7 @@ experimental on Windows. ## Problem -Currently, as described on [bazel.io](/docs/be/python.html#py_binary), +Currently, as described on [bazel.build](/docs/be/python.html#py_binary), the way py\_binary works on Unix is: _A py\_binary is an executable Python program consisting of a collection |