summaryrefslogtreecommitdiff
path: root/misc/travis/clang-format.sh
AgeCommit message (Collapse)Author
2020-03-30Travis: Add static check for Python black formattingRémi Verschelde
Also install and use pygmentize to visualize clang-format and black diffs.
2020-02-19Travis: Fix clang-format on non-master branchesRémi Verschelde
`git diff-tree` used to fail on the `3.2` branch (and other non-master branches) as Travis doesn't actually check that branch from the remote: ``` fatal: ambiguous argument '3.2': unknown revision or path not in the working tree. ``` The exit code would still be 0 so we'd miss badly formatted commits targeting stable branches. We do it manually to ensure that it's going to work as we want it.
2019-09-04Split the Android platform java logic into an Android library module (`lib`) ↵fhuya
and an application module (`app`). The application module `app` serves double duties of providing the prebuilt Godot binaries ('android_debug.apk', 'android_release.apk') and the Godot custom build template ('android_source.zip').
2019-08-27Style: Don't apply clang-format to platform/android/java/src/comRémi Verschelde
2019-05-20Travis: Update clang-format to version 8.0Rémi Verschelde
2018-08-27Style: Enable clang-format on GLSL shadersRémi Verschelde
As of clang-format 6.0.1, putting the `/* clang-format off */` hint around our "invalid" `[vertex]` and `[shader]` statements isn't enough to prevent a bogus indent of the next comments and first valid statement, so we need to enclose that first valid statement in the unformatted chunk.
2018-07-18Travis: Update clang-format version in shell scriptRémi Verschelde
2017-12-10Style: Apply clang-format to Java filesRémi Verschelde
Only those from org/godotengine/godot though, not the thirdparty ones.
2017-12-07Style: Update definitions for clang-format 5.0.0Rémi Verschelde
This will be the new standard from now on.
2017-04-09Style: Apply clang-format (3.9.1) to Obj-C++ filesRémi Verschelde
2017-03-19Travis: Run clang-format static checkRémi Verschelde
Commits or PRs that do not respect the clang-format style that we enforce will fail the test. Adding ubuntu-toolchain-r-test as its libstdc++ is necessary to install libllvm-3.9.