generated from bazel-contrib/rules-template
-
Notifications
You must be signed in to change notification settings - Fork 23
/
BUILD.bazel
42 lines (36 loc) · 1.13 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
load("@bazel_skylib//rules:diff_test.bzl", "diff_test")
load("@gazelle//:def.bzl", "gazelle", "gazelle_binary")
# gazelle:exclude tests
# gazelle:exclude examples
gazelle_binary(
name = "gazelle_bin",
languages = [
"@bazel_skylib_gazelle_plugin//bzl",
],
)
gazelle(
name = "gazelle",
gazelle = "gazelle_bin",
)
bzl_library(
name = "internal_deps",
srcs = ["internal_deps.bzl"],
visibility = ["//visibility:public"],
deps = [
"@bazel_tools//tools/build_defs/repo:http.bzl",
"@bazel_tools//tools/build_defs/repo:utils.bzl",
],
)
diff_test(
name = "test_core_deps_diff",
failure_message = "Please run `bazel run //pycross/private:update_pycross_deps`",
file1 = "//pycross/private:updated-pycross_deps_core.lock.bzl",
file2 = "//pycross/private:pycross_deps_core.lock.bzl",
)
diff_test(
name = "test_deps_diff",
failure_message = "Please run `bazel run //pycross/private:update_pycross_deps`",
file1 = "//pycross/private:updated-pycross_deps.lock.bzl",
file2 = "//pycross/private:pycross_deps.lock.bzl",
)