From dbc4ca1b2ff105868a6d4212f5472b2d5fbb61a6 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 15 Jun 2020 14:06:59 +0200 Subject: [PATCH] ci: use gst-indent from docker image Part-of: --- gitlab/ci_template.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gitlab/ci_template.yml b/gitlab/ci_template.yml index a74b3b1..7f81c55 100644 --- a/gitlab/ci_template.yml +++ b/gitlab/ci_template.yml @@ -337,9 +337,7 @@ gst indent: script: # man indent. grep RETURN VALUE, grab a beer on my behalf... - indent --version || true - - curl -L -o gst-indent https://gitlab.freedesktop.org/gstreamer/gstreamer/raw/${GST_UPSTREAM_BRANCH}/tools/gst-indent - - chmod +x gst-indent - - find . -name '*.c' -exec ./gst-indent {} + + - find . -name '*.c' -exec gst-indent {} + - | if git diff --quiet; then echo "Code is properly formatted" -- 2.7.4