[retro-gtk/header-ci] ci: Add a message and s/return/exit/



commit 59dcffe2233a3e77313165a129e6292352d04d09
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sat Jan 11 15:47:38 2020 +0100

    ci: Add a message and s/return/exit/

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b613ae5..99f7f3b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,7 +7,7 @@ stages:
 api-visibility:
   stage: lint
   script:
-    - if grep "include.*private.h" $(ls retro-gtk/*.h | grep -v private); then return 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]