Commit 00e19a5e authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

gitlab/ci_template: indent c++ sources as well

parent 42335f31
Pipeline #20898 passed with stages
in 23 minutes and 54 seconds
......@@ -50,7 +50,7 @@ gst indent:
- indent --version || true
- curl -o gst-indent https://gitlab.freedesktop.org/gstreamer/gstreamer/raw/master/tools/gst-indent
- chmod +x gst-indent
- find . -name '*.c' -exec ./gst-indent {} +
- find . -type f \( -name '*.c' -o -name '*.cpp' -o -name '*.cc' \) -a -not -name 'DeckLinkAPIDispatch.cpp' -exec ./gst-indent {} +
- |
if git diff --quiet; then
echo "Code is properly formatted"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment