Skip to content

Commit

Permalink
add test-clean makefile target
Browse files Browse the repository at this point in the history
  • Loading branch information
dwightguth committed Sep 17, 2024
1 parent b223e1b commit fd18341
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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)
Expand Down

0 comments on commit fd18341

Please sign in to comment.