gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: BUILD: Do not fail on missed uncrustify


From: gnunet
Subject: [gnunet] branch master updated: BUILD: Do not fail on missed uncrustify
Date: Sun, 30 Jul 2023 19:17:38 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new dd857b8d9 BUILD: Do not fail on missed uncrustify
     new 61b8b8e67 Merge branch 'master' of git+ssh://git.gnunet.org/gnunet
dd857b8d9 is described below

commit dd857b8d9654a0c3fd5a6c97929646bcd7ddf66d
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Sun Jul 30 19:16:58 2023 +0200

    BUILD: Do not fail on missed uncrustify
---
 contrib/conf/uncrustify_precommit | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/contrib/conf/uncrustify_precommit 
b/contrib/conf/uncrustify_precommit
index 3a06511d1..d9c30a2dd 100755
--- a/contrib/conf/uncrustify_precommit
+++ b/contrib/conf/uncrustify_precommit
@@ -28,8 +28,11 @@ done
 
 if [ $RET = 1 ];
 then
-  echo "Run"
-  echo "uncrustify --replace -c uncrustify.cfg ${crustified}"
-  echo "before committing."
+  echo "================================================================"
+  echo " Your changes are ugly!                                         "
+  echo " Uncrustify your code in your next commit.                      "
+  echo " See https://docs.gnunet.org/developers/style.html#coding-style "
+  echo "================================================================"
 fi
-exit $RET
+# Do not fail
+exit 0

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]