-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace Carthage support with bazel support (#17)
* Add a more thorough kokoro script that supports running on all available simulators. * More flexible script. * Even more thorough. * Support xcode 8 and 9 only. * Minor change. * Formatting cleanup. * Add comments and general cleanup to the script. * Add stricter warning flags. * Run tests and builds against iphoneos as well. * More fixes. * Rename config to warnings. * Remove comments. * Use versioned test runner. * Remove carthage dependency. * Add bazel support. * Use v2.0.0 * Formatting. * Bump kokoro script.
- Loading branch information
Showing
8 changed files
with
55 additions
and
472 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
docs/ | ||
bazel-* | ||
.kokoro-ios-runner | ||
|
||
# Xcode | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Description: | ||
# Tools for building a Catalog by Convention. | ||
|
||
licenses(["notice"]) # Apache 2.0 | ||
|
||
exports_files(["LICENSE"]) | ||
|
||
objc_library( | ||
name = "CatalogByConvention", | ||
srcs = glob([ | ||
"src/*.m", | ||
"src/private/*.m", | ||
]), | ||
hdrs = glob([ | ||
"src/*.h", | ||
"src/private/*.h", | ||
]), | ||
includes = ["src"], | ||
visibility = ["//visibility:public"], | ||
copts = [ | ||
"-Wall", # Standard known-to-be-bugs warnings. | ||
"-Wcast-align", # Casting a pointer such that alignment is broken. | ||
"-Wconversion", # Numeric conversion warnings. | ||
"-Wdocumentation", # Documentation checks. | ||
"-Werror", # All warnings as errors. | ||
"-Wextra", # Many useful extra warnings. | ||
"-Wimplicit-atomic-properties", # Dynamic properties should be non-atomic. | ||
"-Wmissing-prototypes", # Global function is defined without a previous prototype. | ||
"-Wno-error=deprecated", # Deprecation warnings are never errors. | ||
"-Wno-error=deprecated-implementations", # Deprecation warnings are never errors. | ||
"-Wno-sign-conversion", # Do not warn on sign conversions. | ||
"-Wno-unused-parameter", # Do not warn on unused parameters. | ||
"-Woverlength-strings", # Strings longer than the C maximum. | ||
"-Wshadow", # Local variable shadows another variable, parameter, etc. | ||
"-Wstrict-selector-match", # Compiler can't figure out the right selector. | ||
"-Wundeclared-selector", # Compiler doesn't see a selector. | ||
"-Wunreachable-code", # Code will never be reached. | ||
] | ||
) |
Oops, something went wrong.