From 5b87b9183cb6e1983c36e5da56c9af90c0003fb4 Mon Sep 17 00:00:00 2001
From: Klaus Fischer <klaus.fischer@eloware.com>
Date: Wed, 18 Jan 2023 13:35:36 +0100
Subject: [PATCH] GitHook added

---
 failed.txt       |  0
 install_reuse.sh | 13 +++++++++++++
 2 files changed, 13 insertions(+)
 create mode 100644 failed.txt

diff --git a/failed.txt b/failed.txt
new file mode 100644
index 00000000..e69de29b
diff --git a/install_reuse.sh b/install_reuse.sh
index c10672a7..a73ecba8 100755
--- a/install_reuse.sh
+++ b/install_reuse.sh
@@ -10,3 +10,16 @@ pipx ensurepath
 # pipx run reuse addheader --copyright='2022 FIT-Connect contributors' --license 'EUPL-1.2' --skip-unrecognised --recursive .
 
 pipx run reuse lint
+
+exit 1
+
+### GIT HOOK
+
+#!/bin/bash
+
+if ! pipx run reuse lint; then
+    echo "REUSE failed"
+    exit 100
+fi
+
+echo "REUSE OK"
\ No newline at end of file
-- 
GitLab