blob: 96d24e2df68ea9c2ffd090718a655ac679d0ce2e [file] [log] [blame] [edit]
load("@build_bazel_rules_apple//apple:macos.bzl", "macos_unit_test")
load("@build_bazel_rules_swift//swift:swift_library.bzl", "swift_library")
package(default_applicable_licenses = ["//:license"])
licenses(["notice"])
swift_library(
name = "TulsiGeneratorTestsLib",
testonly = 1,
srcs = glob(["*.swift"]),
deps = ["//src/TulsiGenerator:tulsi_generator_lib"],
)
macos_unit_test(
name = "TulsiGeneratorTests",
additional_contents = {
"//src/tools/bazel_cache_reader": "MacOS",
"//src/tools/module_cache_pruner": "MacOS",
},
minimum_os_version = "11.0",
shard_count = 5,
deps = [":TulsiGeneratorTestsLib"],
)