blob: 919d6ff125114d083aa49d49817b8ad697ff331e [file] [log] [blame] [edit]
load("@build_bazel_rules_swift//swift:swift_library.bzl", "swift_library")
package(
default_applicable_licenses = ["//:license"],
default_visibility = ["//:__subpackages__"],
)
licenses(["notice"])
exports_files(
[
"en.lproj/Localizable.strings",
"en.lproj/Options.strings",
],
)
filegroup(
name = "tulsi_generator_srcs",
srcs = glob(["*.swift"]),
)
filegroup(
name = "tulsi_generator_resources",
srcs = glob([
"GeneratedProjectResources/*",
"*.entitlements",
]) + [
"//src/TulsiGenerator/Bazel:WORKSPACE",
"//src/TulsiGenerator/Scripts",
],
)
swift_library(
name = "tulsi_generator_lib",
srcs = [":tulsi_generator_srcs"],
data = [
":tulsi_generator_resources",
"//src/TulsiGenerator/Bazel:tulsi",
],
module_name = "TulsiGenerator",
tags = ["nobuilder"],
)