From 195f23ecbbd941f361f70883758297dda1703d86 Mon Sep 17 00:00:00 2001
From: Ralf Jung <jung@mpi-sws.org>
Date: Thu, 3 Jun 2021 18:02:28 +0200
Subject: [PATCH] fix invoking our linter

---
 Makefile.coq.local | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.coq.local b/Makefile.coq.local
index 50fa0800..a3083609 100644
--- a/Makefile.coq.local
+++ b/Makefile.coq.local
@@ -12,7 +12,7 @@ style: $(VFILES) coq-lint.sh
 	$(SHOW)"Performing some style checks..."
 	$(HIDE)for FILE in $(VFILES); do \
 	  if ! fgrep -q 'From stdpp Require Import options.' "$$FILE"; then echo "ERROR: $$FILE does not import 'options'."; echo; exit 1; fi ; \
-	  ./coq-lint.sh "$$FILE"; \
+	  ./coq-lint.sh "$$FILE" || exit 1; \
 	done
 .PHONY: style
 
-- 
GitLab