summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSon HO2024-04-23 16:37:54 +0200
committerGitHub2024-04-23 16:37:54 +0200
commitf3007820a21d11721507f5054b30bf5ae99a7b95 (patch)
tree8c84f338a6b86dd146500e18708594a0e449c880 /Makefile
parent008596885544999b159244528c5a3b2a17151721 (diff)
parent10e5ca4c48c1d5729ee877612b7d95dfe2636159 (diff)
Merge pull request #154 from AeneasVerif/ci-fmt
ci: check code formatting and forbid warnings
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4ecc2a3e..08359d49 100644
--- a/Makefile
+++ b/Makefile
@@ -113,7 +113,8 @@ verify:
# Reformat the project
.PHONY: format
format:
- cd compiler && dune build @fmt --auto-promote
+ @# `|| `true` because the command returns an error if it changed anything, which we don't care about.
+ cd compiler && dune fmt || true
# The commands to run Charon to generate the .llbc files
ifeq (, $(REGEN_LLBC))