From 5ff53d7f746527f3014461e2a9f6cf77c95a7e69 Mon Sep 17 00:00:00 2001 From: RhodeCode Admin Date: Tue, 5 Dec 2023 10:00:13 +0100 Subject: [PATCH] chore(dev): fixed makefile --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c3726a81..71e6431e 100644 --- a/Makefile +++ b/Makefile @@ -126,9 +126,16 @@ dev-sh: echo "source <(carapace _carapace)" > /home/rhodecode/.zsrc PROMPT='%(?.%F{green}√.%F{red}?%?)%f %B%F{240}%1~%f%b %# ' zsh + +.PHONY: dev-cleanup +## Cleanup: pip freeze | grep -v "^-e" | grep -v "@" | xargs pip uninstall -y +dev-cleanup: + pip freeze | grep -v "^-e" | grep -v "@" | xargs pip uninstall -y + rm -rf /tmp/* + + .PHONY: dev-env ## make dev-env based on the requirements files and install develop of packages -## Cleanup: pip freeze | grep -v "^-e" | grep -v "@" | xargs pip uninstall -y dev-env: pip install build virtualenv pushd ../rhodecode-vcsserver/ && make dev-env && popd