Skip to content

Commit

Permalink
chore(makefile): cleanup extra stuff to avoid problems
Browse files Browse the repository at this point in the history
Signed-off-by: Abdelhak Bougouffa <abougouffa@fedoraproject.org>
  • Loading branch information
abougouffa committed Apr 7, 2024
1 parent 3b3ac48 commit f08045e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@ all:
@echo "Straight options are: pull, rebuild, check."
@echo "Extra options are: bump, cloc, ci."

clean:
clean_extras:
rm -rf $(EMACS_DIR)/local/parinfer-rust || true
rm -rf $(EMACS_DIR)/local/tree-sitter || true
rm -rf $(EMACS_DIR)/local/lsp || true
rm -rf $(EMACS_DIR)/local/extra-packages || true
rm -rf $(EMACS_DIR)/local/clean_extras || true

clean: clean_extras
rm -rf $(EMACS_DIR)/eln-cache $(EMACS_DIR)/local/eln-cache $(EMACS_DIR)/local/cache $(EMACS_DIR)/local/straight/build-*

clean_pcache:
Expand Down

0 comments on commit f08045e

Please sign in to comment.