forked from pinterest/plank
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD
More file actions
23 lines (20 loc) · 586 Bytes
/
BUILD
File metadata and controls
23 lines (20 loc) · 586 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
load("@build_bazel_rules_apple//apple:swift.bzl", "swift_library")
load("@build_bazel_rules_apple//apple:macos.bzl", "macos_command_line_application")
swift_library(
name = "PlankCore",
srcs = glob(["Sources/Core/*.swift"]),
module_name = "Core",
swift_version = 4,
copts = ["-whole-module-optimization"]
)
swift_library(
name = "PlankLib",
srcs = glob(["Sources/plank/*.swift"]),
swift_version = 4,
copts = ["-whole-module-optimization"],
deps = [":PlankCore"]
)
macos_command_line_application(
name = "plank",
deps = [":PlankLib"]
)