Skip to content

Commit

Permalink
Merge pull request #10 from thii/bazel
Browse files Browse the repository at this point in the history
Add WORKSPACE and BUILD files to make this a Bazel workspace
  • Loading branch information
indragiek authored Oct 20, 2019
2 parents 0575e57 + 19c8c79 commit 1a1debf
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
39 changes: 39 additions & 0 deletions InAppViewDebugger/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
load(
"@build_bazel_rules_apple//apple:ios.bzl",
"ios_static_framework",
)
load(
"@build_bazel_rules_apple//apple:resources.bzl",
"apple_resource_bundle",
)
load(
"@build_bazel_rules_swift//swift:swift.bzl",
"swift_library",
)

apple_resource_bundle(
name = "Assets",
resources = glob([
"Assets.xcassets/**",
]),
)

swift_library(
name = "InAppViewDebugger",
srcs = glob([
"*.swift",
]),
data = [
":Assets",
],
module_name = "InAppViewDebugger",
)

ios_static_framework(
name = "InAppViewDebuggerFramework",
bundle_name = "InAppViewDebugger",
minimum_os_version = "11.0",
deps = [
":InAppViewDebugger",
],
)
1 change: 1 addition & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
workspace(name = "InAppViewDebugger")

0 comments on commit 1a1debf

Please sign in to comment.