Skip to content

Commit 1a1debf

Browse files
authored
Merge pull request #10 from thii/bazel
Add WORKSPACE and BUILD files to make this a Bazel workspace
2 parents 0575e57 + 19c8c79 commit 1a1debf

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

InAppViewDebugger/BUILD

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
load(
2+
"@build_bazel_rules_apple//apple:ios.bzl",
3+
"ios_static_framework",
4+
)
5+
load(
6+
"@build_bazel_rules_apple//apple:resources.bzl",
7+
"apple_resource_bundle",
8+
)
9+
load(
10+
"@build_bazel_rules_swift//swift:swift.bzl",
11+
"swift_library",
12+
)
13+
14+
apple_resource_bundle(
15+
name = "Assets",
16+
resources = glob([
17+
"Assets.xcassets/**",
18+
]),
19+
)
20+
21+
swift_library(
22+
name = "InAppViewDebugger",
23+
srcs = glob([
24+
"*.swift",
25+
]),
26+
data = [
27+
":Assets",
28+
],
29+
module_name = "InAppViewDebugger",
30+
)
31+
32+
ios_static_framework(
33+
name = "InAppViewDebuggerFramework",
34+
bundle_name = "InAppViewDebugger",
35+
minimum_os_version = "11.0",
36+
deps = [
37+
":InAppViewDebugger",
38+
],
39+
)

WORKSPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
workspace(name = "InAppViewDebugger")

0 commit comments

Comments
 (0)