aboutsummaryrefslogtreecommitdiff
path: root/WORKSPACE
diff options
context:
space:
mode:
authorbcorso <bcorso@google.com>2020-06-08 17:40:40 -0700
committerChris Povirk <beigetangerine@gmail.com>2020-06-09 09:36:00 -0400
commit51c9a1da59962c64e4e46a26546d238aa9f9f9de (patch)
tree3e7393639e211672322015b3aa9ac5967c4e5434 /WORKSPACE
parent5d63fcf9d475f1105ead64ace871ce469568ae61 (diff)
downloaddagger2-51c9a1da59962c64e4e46a26546d238aa9f9f9de.tar.gz
Add macros for Dagger users to easily import Dagger targets.
RELNOTES=Update macro and README with instructions for Bazel users. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=315389535
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE7
1 files changed, 7 insertions, 0 deletions
diff --git a/WORKSPACE b/WORKSPACE
index cc52703a5..309690cdd 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -12,6 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+# Declare the nested workspace so that the top-level workspace doesn't try to
+# traverse it when calling `bazel build //...`
+local_repository(
+ name = "examples_bazel",
+ path = "examples/bazel",
+)
+
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(