From 58d4df137d92128687596e291d195cbcd60423b6 Mon Sep 17 00:00:00 2001 From: David McNett Date: Thu, 9 May 2019 15:14:59 -0500 Subject: [PATCH] Update syntax for bazel 0.25.1 --- def.bzl | 14 ++++++++++++-- private/generate.bzl | 1 - 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/def.bzl b/def.bzl index 38b7b13..e164b5a 100644 --- a/def.bzl +++ b/def.bzl @@ -1,2 +1,12 @@ -load(":private/dependencies.bzl", "vendor_dependencies") -load(":private/generate.bzl", "vendor_generate") +load( + "@com_activestate_rules_vendor//private:dependencies.bzl", + _vendor_dependencies = "vendor_dependencies" +) + +load( + "@com_activestate_rules_vendor//private:generate.bzl", + _vendor_generate = "vendor_generate" +) + +vendor_dependencies = _vendor_dependencies +vendor_generate = _vendor_generate diff --git a/private/generate.bzl b/private/generate.bzl index e6e2158..299a2c3 100644 --- a/private/generate.bzl +++ b/private/generate.bzl @@ -74,7 +74,6 @@ vendor_generate = repository_rule( "src": attr.label( doc = "Label location for Gopkg.lock or go.mod", mandatory = True, - allow_files = True, allow_single_file = True, ), "_gazelle": attr.label(