From d98e471f8318b94eb09a7ecff345cc07646dc49f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 7 Jun 2021 22:40:51 +0300 Subject: [PATCH] add gazelle:prefix --- BUILD | 1 + WORKSPACE | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/BUILD b/BUILD index 47ecbd2..07e6a04 100644 --- a/BUILD +++ b/BUILD @@ -2,6 +2,7 @@ load("@bazel_gazelle//:def.bzl", "gazelle") load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier") # gazelle:build_file_name BUILD +# gazelle:prefix github.com/motiejus/bazel-zig-cc gazelle(name = "gazelle") buildifier(name = "buildifier") diff --git a/WORKSPACE b/WORKSPACE index 038dcf9..fea59cc 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -22,14 +22,14 @@ http_archive( ], ) + load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") +load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") go_rules_dependencies() go_register_toolchains(version = "1.16") -load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") - gazelle_dependencies() load("//zig-toolchains:defs.bzl",