diff options
author | iphydf <iphydf@users.noreply.github.com> | 2020-04-09 23:56:19 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2020-04-16 11:05:08 +0000 |
commit | c08b2fb3e2c3c8e8a5722e7350b61efd6992be45 (patch) | |
tree | bc6f5738bb6a948146cedb612cc12abb3e158fb4 /toxcore/BUILD.bazel | |
parent | 7f9f8045cd6f8d92559cdc9f7d297cf92e960e49 (diff) |
Remove tokstyle exemptions from build files.
We put some tokstyle exemptions into the source files themselves,
instead. This way we can check some of the code in those files, and more
in the future when tokstyle supports more constructs (like apidsl).
Also: hacked ping_array.api.h to not emit `_array` as parameter names.
We'll need to fix apidsl to do this better. This works for now.
Diffstat (limited to 'toxcore/BUILD.bazel')
-rw-r--r-- | toxcore/BUILD.bazel | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/toxcore/BUILD.bazel b/toxcore/BUILD.bazel index 2a9b4ff2..403fa7e8 100644 --- a/toxcore/BUILD.bazel +++ b/toxcore/BUILD.bazel | |||
@@ -286,14 +286,7 @@ CIMPLE_SRCS = glob( | |||
286 | "*.c", | 286 | "*.c", |
287 | "*.h", | 287 | "*.h", |
288 | ], | 288 | ], |
289 | exclude = [ | 289 | exclude = ["*.api.h"], |
290 | "*.api.h", | ||
291 | "ccompat.h", | ||
292 | "crypto_core_mem.c", | ||
293 | "ping_array.h", | ||
294 | "tox.h", | ||
295 | "tox_api.c", | ||
296 | ], | ||
297 | ) | 290 | ) |
298 | 291 | ||
299 | sh_test( | 292 | sh_test( |