From a6658a41d7fd1668197064ace2a26b76768af753 Mon Sep 17 00:00:00 2001 From: Kristina Chodorow Date: Wed, 27 Jan 2016 22:08:54 +0000 Subject: workspace() is now documented in its annotation ...and this documentation is incorrect. -- MOS_MIGRATED_REVID=113198846 --- .../build/docgen/templates/be/functions.vm | 24 ---------------------- 1 file changed, 24 deletions(-) (limited to 'src/main/java/com/google/devtools/build/docgen') diff --git a/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm b/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm index 49105b2c25..58fe0821a7 100644 --- a/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm +++ b/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm @@ -633,29 +633,5 @@ sh_binary( - - -

workspace

- -
workspace(name = "something")
- -

This can only be used in the WORKSPACE file.

- -

The sets an optional name for the repository.

- -

This name is used for the directory that runfiles are stored in. For - example, if there is a runfile foo/bar and the WORKSPACE file contains - workspace(name = "baz"), then the runfile will be output under - mytarget.runfiles/baz/foo/bar. If no workspace name is specified, then the - runfile will be symlinked to bar.runfiles/foo/bar. -

- -

A workspace name can contain slashes if a deeper directory listing is - desired (workspace(name = "baz/qux") will place the runfile at - bar.runfiles/baz/qux/foo/bar). -

#parse("com/google/devtools/build/docgen/templates/be/footer.vm") -- cgit v1.2.3