dawn-cmake/scripts
Corentin Wallez 4c35101b9c PRESUBMIT.py: Add formatting checks.
GN files are checked using the canned presubmit check but we cannot do
the same for C/C++ files: the canned check uses git cl format which can
only use clang-format 5.0 and requires formatting of all the source
code.

Instead we write our own clang-format check, reusing the script that
checks formatting on Travis. To have a recent version of clang-format we
import one from a helper repo.

This also fix a formatting error in .gn and adds licenses to the
clang-format linting scripts.

Change-Id: I4d8208472a8a6bd32ae3ef41c3145abf270a4c37
2018-09-11 08:06:36 -04:00
..
dawn_features.gni BUILD.gn: Move last third_party deps to third_party/BUILD.gn 2018-08-14 14:33:19 +02:00
dawn_overrides_with_defaults.gni Generator,BUILD.gn: add optional python path, use it for Jinja2 2018-08-14 21:42:32 +02:00
git-clang-format Add travis hook to check formatting 2017-11-28 16:18:39 -05:00
lint_clang_format.sh PRESUBMIT.py: Add formatting checks. 2018-09-11 08:06:36 -04:00
standalone.gclient Add a .gclient file to be copied to boostrap a dawn checkout. 2018-08-14 14:33:19 +02:00
travis_lint_format.sh PRESUBMIT.py: Add formatting checks. 2018-09-11 08:06:36 -04:00