-
Notifications
You must be signed in to change notification settings - Fork 226
/
BUILD
30 lines (28 loc) · 822 Bytes
/
BUILD
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
load(
"@build_bazel_rules_swift//swift:swift.bzl",
"swift_library",
"swift_binary"
)
swift_library(
name = "SourceKittenFramework",
module_name = "SourceKittenFramework",
srcs = ["//Source:SourceKittenFrameworkSources"],
deps = [
"@sourcekitten_com_github_drmohundro_SWXMLHash//:SWXMLHash",
"@sourcekitten_com_github_jpsim_yams//:Yams",
"//Source:SourceKit",
"//Source:Clang_C"
],
defines = ["SWIFT_PACKAGE"],
visibility = ["//visibility:public"]
)
swift_binary(
name = "sourcekitten",
srcs = ["//Source:SourceKittenLibSources"],
deps = [
":SourceKittenFramework",
"@sourcekitten_com_github_apple_swift_argument_parser//:ArgumentParser"
],
defines = ["SWIFT_PACKAGE"],
visibility = ["//visibility:public"]
)