[retro-gtk/header-fixes] ci: Split the lint on multiple lines



commit 4e2b11e35bfa3d8b4b8504bb8b42a4f2158060af
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sat Jan 11 16:47:58 2020 +0100

    ci: Split the lint on multiple lines

 .gitlab-ci.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 024ba87..f1e9471 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,11 +7,11 @@ stages:
 api-visibility:
   stage: lint
   script:
-    - if grep "include.*private.h" $(ls retro-gtk/*.h | grep -v private); \
-    - then \
-    -   echo "Private headers shouldn't be included in public ones."; \
-    -   exit 1; \
-    - fi
+    - if grep "include.*private.h" $(ls retro-gtk/*.h | grep -v private);
+      then \
+        echo "Private headers shouldn't be included in public ones.";
+        exit 1;
+      fi
 
 variables:
   BUNDLE: "retro-demo-samples-test-git.flatpak"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]