Repository navigation
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_github_thii_rules_swiftlint",
sha256 = "0cc7c7fcc2f58671b8f64b62c777c36682af270dca17257e9d61b1aa21f557d9",
url = "https://github.com/thii/rules_swiftlint/releases/download/0.4.0/rules_swiftlint-0.4.0.tar.gz",
)
#########################
# rules_swiftlint setup #
#########################
# Fetches the rules_swiftlint dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load(
"@com_github_thii_rules_swiftlint//swiftlint:repositories.bzl",
"swiftlint_rules_dependencies",
)
swiftlint_rules_dependencies()
load(
"@com_github_thii_rules_swiftlint//swiftlint:defs.bzl",
"swiftlint_register_toolchains",
)
swiftlint_register_toolchains()Full Changelog: 0.3.0...0.4.0