This repository has been archived by the owner on Jan 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
BUILD.bazel
64 lines (56 loc) · 1.58 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
load(
"@cgrindel_rules_bzlformat//bzlformat:bzlformat.bzl",
"bzlformat_missing_pkgs",
"bzlformat_pkg",
)
load("//updatesrc:updatesrc.bzl", "updatesrc_update_all")
load(
"@cgrindel_rules_bazel_integration_test//bazel_integration_test:bazel_integration_test.bzl",
"integration_test_utils",
)
bzlformat_pkg(name = "bzlformat")
bzlformat_missing_pkgs(
name = "bzlformat_missing_pkgs",
)
updatesrc_update_all(
name = "update_all",
targets_to_run = [
"//doc:update",
":bzlformat_missing_pkgs_fix",
],
)
bzl_library(
name = "bazel_versions",
srcs = ["bazel_versions.bzl"],
visibility = ["//:__subpackages__"],
)
# MARK: - Related to Integration Tests
# Provides the *.bazlerc files for the example workspace integration tests.
filegroup(
name = "shared_bazelrc_files",
srcs = glob(["*.bazelrc"]),
visibility = ["//:__subpackages__"],
)
# The example workspaces use local_repository to reference this workspace.
# This target collects all of the files needed for rules_spm to work in the
# child workspaces.
filegroup(
name = "local_repository_files",
srcs = [
"BUILD.bazel",
"WORKSPACE",
"//scripts:all_files",
"//updatesrc:all_files",
"//updatesrc/internal:all_files",
],
visibility = ["//:__subpackages__"],
)
test_suite(
name = "all_integration_tests",
tags = integration_test_utils.DEFAULT_INTEGRATION_TEST_TAGS,
tests = [
"//examples:integration_tests",
],
visibility = ["//:__subpackages__"],
)