From 74dcc7a12f6100d56e38c7aefb131f41c9fe9b52 Mon Sep 17 00:00:00 2001 From: Son Ho Date: Mon, 11 Mar 2024 17:47:59 +0100 Subject: Update the Makefile to automatically reformat the code --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8b9c8392..880bf83e 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: -- cgit v1.2.3 From 7875ac644e88d3f0209a452064e1fe0eed6f6a50 Mon Sep 17 00:00:00 2001 From: Son Ho Date: Mon, 11 Mar 2024 17:48:56 +0100 Subject: Change the tests target to test --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 880bf83e..c7cd7f55 100644 --- a/Makefile +++ b/Makefile @@ -88,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 \ -- cgit v1.2.3