From fd183419d17e375ef695fa4584a4476070674687 Mon Sep 17 00:00:00 2001 From: Dwight Guth Date: Fri, 13 Sep 2024 12:48:55 -0500 Subject: [PATCH] add test-clean makefile target --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3d4ad78..5f5a392 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: build clean test test-tokens test-staking test-lending test-swap test-erc20 test-erc1155 test-liquid test-lido test-lendingpool test-aave test-regression +.PHONY: build clean test test-clean test-tokens test-staking test-lending test-swap test-erc20 test-erc1155 test-liquid test-lido test-lendingpool test-aave test-regression SEMANTICS_DIR = src TEST_DIR = test @@ -25,8 +25,10 @@ EXAMPLE_TESTS = $(patsubst %.txn, %.out, $(TRANSACTIONS)) build: $(SEMANTICS_DIR)/$(SEMANTICS_FILE) kompile $(SEMANTICS_DIR)/$(SEMANTICS_FILE) --main-module $(MAIN_MODULE) --gen-glr-bison-parser -O2 --heuristic pbaL -clean: +clean: test-clean rm -Rf $(SEMANTICS_FILE_NAME)-kompiled + +test-clean: rm -Rf $(OUTPUT_DIR) rm -Rf $(TEST_DIR)/regression/*.out rm -Rf $(EXAMPLE_TESTS)