aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Poletti <poletti.marco@gmail.com>2020-08-09 12:18:19 -0700
committerMarco Poletti <poletti.marco@gmail.com>2020-08-09 12:18:19 -0700
commit577949f73e6a6fd33407611afb3cd8b59ed13bac (patch)
tree56859dd672bee5bbbf37ced5b10a6de6169087b8
parent94cefefb42f3685c1d64664e6aa9cbaf834b25ee (diff)
downloadgoogle-fruit-577949f73e6a6fd33407611afb3cd8b59ed13bac.tar.gz
Move the bazel WORKSPACE file to the root dir, and replace the one in extras/bazel_root/ with a symlink.
-rw-r--r--WORKSPACE18
l---------[-rw-r--r--]extras/bazel_root/WORKSPACE19
2 files changed, 19 insertions, 18 deletions
diff --git a/WORKSPACE b/WORKSPACE
new file mode 100644
index 0000000..d74dafe
--- /dev/null
+++ b/WORKSPACE
@@ -0,0 +1,18 @@
+load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
+
+git_repository(
+ name = "com_google_googletest",
+ remote = "https://github.com/google/googletest",
+ # GTest HEAD as of August 2018.
+ commit = "9c96f500a39df6915f8f1ab53b60be9889f1572b",
+)
+
+git_repository(
+ name = "com_github_nelhage_rules_boost",
+ commit = "1e3a69bf2d5cd10c34b74f066054cd335d033d71",
+ remote = "https://github.com/nelhage/rules_boost",
+ shallow_since = "1591047380 -0700",
+)
+
+load("@com_github_nelhage_rules_boost//:boost/boost.bzl", "boost_deps")
+boost_deps()
diff --git a/extras/bazel_root/WORKSPACE b/extras/bazel_root/WORKSPACE
index d74dafe..6991d20 100644..120000
--- a/extras/bazel_root/WORKSPACE
+++ b/extras/bazel_root/WORKSPACE
@@ -1,18 +1 @@
-load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
-
-git_repository(
- name = "com_google_googletest",
- remote = "https://github.com/google/googletest",
- # GTest HEAD as of August 2018.
- commit = "9c96f500a39df6915f8f1ab53b60be9889f1572b",
-)
-
-git_repository(
- name = "com_github_nelhage_rules_boost",
- commit = "1e3a69bf2d5cd10c34b74f066054cd335d033d71",
- remote = "https://github.com/nelhage/rules_boost",
- shallow_since = "1591047380 -0700",
-)
-
-load("@com_github_nelhage_rules_boost//:boost/boost.bzl", "boost_deps")
-boost_deps()
+../../WORKSPACE \ No newline at end of file