Skip to content

Commit

Permalink
Fix cleaning of caches
Browse files Browse the repository at this point in the history
Ref. eng/recordflux/RecordFlux#1779
  • Loading branch information
treiher committed Sep 11, 2024
1 parent 80db1d7 commit 7a7daa4
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -642,11 +642,10 @@ audit: $(RFLX) rapidflux_devel

# --- Clean ---

.PHONY: clean clean_build clean_all
.PHONY: clean clean_build clean_cache clean_all

clean:
rm -rf $(BUILD_DIR) .coverage .coverage.* .hypothesis doc/language_reference/build doc/user_guide/build
find -name ".*_cache" -exec rm -vrf {} \;
clean: clean_build clean_cache
rm -rf .coverage .coverage.* .hypothesis doc/language_reference/build doc/user_guide/build
$(MAKE) -C examples/apps/wireguard clean
$(MAKE) -C examples/apps/ping clean
$(MAKE) -C examples/apps/dhcp_client clean
Expand All @@ -658,7 +657,10 @@ clean:
clean_build:
rm -rf $(BUILD_DIR)

clean_all: clean clean_build
clean_cache:
find -name ".*_cache" -type d -exec rm -vrf {} +

clean_all: clean
$(RM) -r $(DEVEL_VENV) $(POETRY_VENV) $(BIN_DIR) $(GENERATED_DIR) $(CARGO_HOME) rflx/lang rflx/rapidflux*.so pyproject.toml
test -d $(LANGKIT_DIR) && touch $(LANGKIT_DIR)/langkit/py.typed || true
@$(call remove_repo,$(DEVUTILS_DIR))
Expand Down

0 comments on commit 7a7daa4

Please sign in to comment.