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



commit d31cb3284d5761784404bfb219847e5e16bd56d4
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sat Jan 11 16:43:03 2020 +0100

    ci: Split the lint on multiple lines

 .gitlab-ci.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 99f7f3b..efebfcc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,7 +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]