/bazel_ios_warnings

Warnings we use for bazel iOS targets.

Primary LanguagePythonApache License 2.0Apache-2.0

Bazel warnings for iOS libraries

Defines a bazel objc_library target with strict Objective-C warnings: strict_warnings_objc_library.

Add the following to your WORKSPACE:

git_repository(
    name = "bazel_ios_warnings",
    remote = "https://github.com/material-foundation/bazel_ios_warnings.git",
    tag = "v2.0.0",
)

In your BUILD file, use strict_warnings_objc_library just like you'd use objc_library:

load("@bazel_ios_warnings//:strict_warnings_objc_library.bzl", "strict_warnings_objc_library")

strict_warnings_objc_library(
)