Skip to content

Commit

Permalink
Revert changes to FooTest/BUILD.bazel.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrindel committed Feb 24, 2024
1 parent 62e9a71 commit 7b64c3e
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions examples/rules_swift_helpers/Tests/FooTests/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
# load(
# "@rules_swift_tidy//swiftformat:defs.bzl",
# "swiftformat_test",
# )

# swiftformat_test(
# name = "FooTests",
# swiftformat_config = "//:.swiftformat",
# deps = [
# "//Sources/Foo",
# ],
# )

load("@build_bazel_rules_swift//swift:swift.bzl", "swift_test")
load(
"@rules_swift_tidy//swiftformat:defs.bzl",
"swiftformat_test",
)

swift_test(
swiftformat_test(
name = "FooTests",
srcs = glob(["*.swift"]),
deps = ["//Sources/Foo"],
swiftformat_config = "//:.swiftformat",
deps = [
"//Sources/Foo",
],
)

0 comments on commit 7b64c3e

Please sign in to comment.