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



commit ed828c3d13d0ca6a0dd86bd863a6496efde2814a
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sat Jan 11 16:44:44 2020 +0100

    ci: Split the lint on multiple lines

 .gitlab-ci.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index efebfcc..024ba87 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,10 +7,10 @@ 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;
+    - 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:


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