-
Notifications
You must be signed in to change notification settings - Fork 20
/
BUILD
49 lines (42 loc) · 875 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE"])
load("@build_bazel_rules_apple//apple:ios.bzl", "ios_unit_test")
OBJC_COPTS = [
"-Wall",
"-Wextra",
"-Werror",
]
objc_library(
name = "FBLFunctional",
srcs = glob([
"Sources/FBLFunctional/*.m",
]),
hdrs = glob([
"Sources/FBLFunctional/include/*.h",
]) + [
"FBLFunctional.h",
],
copts = OBJC_COPTS,
includes = [
"Sources/FBLFunctional/include",
],
)
ios_unit_test(
name = "Tests",
minimum_os_version = "8.0",
deps = [
":FBLFunctionalTests",
],
)
objc_library(
name = "FBLFunctionalTests",
testonly = 1,
srcs = glob([
"Tests/FBLFunctionalTests/*.m",
]),
copts = OBJC_COPTS,
deps = [
":FBLFunctional",
],
)