aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/genrule
diff options
context:
space:
mode:
authorGravatar Kristina Chodorow <kchodorow@google.com>2015-02-19 18:28:40 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2015-02-19 18:28:40 +0000
commit3671ff634e85e5c3307f37e7c86d88bdf7bf911b (patch)
treefdbdf561be80588f69c0866959b8db4b316db9e7 /tools/genrule
parent8af211fbae32910d2d3ea20fd3cfa651ea8df49b (diff)
Add symlinks to third_party/ and tools/ to base_workspace
While attempting to clean up the Bazel examples, I noticed that the example tests don't actually work because they expect a third_party directory. We could link third_party/ from the top-level bazel directory, but then we'd have crossing symlinks (base_workspace/tools->tools and third_party->base_workspace/third_party). Linking everything in one direction seemed like a better option, but alternative suggestions are welcome. -- MOS_MIGRATED_REVID=86703332
Diffstat (limited to 'tools/genrule')
-rw-r--r--tools/genrule/BUILD1
-rwxr-xr-xtools/genrule/genrule-setup.sh0
2 files changed, 1 insertions, 0 deletions
diff --git a/tools/genrule/BUILD b/tools/genrule/BUILD
new file mode 100644
index 0000000000..318ebb0410
--- /dev/null
+++ b/tools/genrule/BUILD
@@ -0,0 +1 @@
+exports_files(["genrule-setup.sh"])
diff --git a/tools/genrule/genrule-setup.sh b/tools/genrule/genrule-setup.sh
new file mode 100755
index 0000000000..e69de29bb2
--- /dev/null
+++ b/tools/genrule/genrule-setup.sh