Skip to content

Commit

Permalink
Don't remove global cabal store in 'make full-clean'. (#3000)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisx authored Jan 23, 2023
1 parent f669c80 commit 8c589be
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,9 @@ install: init
.PHONY: full-clean
full-clean: clean
rm -rf ~/.cache/hie-bios
ifdef CABAL_DIR
rm -rf $(CABAL_DIR)/store
else
rm -rf ~/.cabal/store
endif
rm -rf ./dist-newstyle ./.env
direnv reload
@echo -e "\n\n*** NOTE: you may want to also 'rm -rf ~/.cabal/store \$$CABAL_DIR/store', not sure.\n"

.PHONY: clean
clean:
Expand Down

0 comments on commit 8c589be

Please sign in to comment.