summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSon HO2024-03-20 05:02:21 +0100
committerGitHub2024-03-20 05:02:21 +0100
commit8111c970fcae9d609961eba2ad6716e8c9fc1046 (patch)
tree927ed1f5050a73e25531103e0aca0b3b10e9284c /Makefile
parenta24f42ff7f0ae3c2aeb51decb0d0c90d6e50ffac (diff)
parent7875ac644e88d3f0209a452064e1fe0eed6f6a50 (diff)
Merge pull request #90 from AeneasVerif/son/makefile
Update the Makefile to automatically reformat the code
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 8b9c8392..c7cd7f55 100644
--- a/Makefile
+++ b/Makefile
@@ -49,13 +49,17 @@ SUBDIR :=
# The rules
####################################
+# Build the compiler, after formatting the code
+.PHONY: build
+build: format build-dev
+
# Build the project, test it and verify the generated files
.PHONY: build-tests-verify
build-tests-verify: build tests verify
-# Build the project
-.PHONY: build
-build: build-bin build-lib build-bin-dir doc
+# Build the project, without formatting the code
+.PHONY: build-dev
+build-dev: build-bin build-lib build-bin-dir doc
.PHONY: build-bin
build-bin:
@@ -84,8 +88,8 @@ clean:
cd compiler && dune clean
# Test the project by translating test files to F*
-.PHONY: tests
-tests: test-no_nested_borrows test-paper \
+.PHONY: test
+test: test-no_nested_borrows test-paper \
test-hashmap test-hashmap_main \
test-external test-constants \
testp-polonius_list testp-betree_main \