From 6d43a6a972abe21feaf2a55dcad2994481fc76c5 Mon Sep 17 00:00:00 2001 From: PatillaCode Date: Sat, 17 Jun 2023 17:20:16 +0200 Subject: [PATCH] pretty --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 49e9bb8..cdbfb5b 100644 --- a/Makefile +++ b/Makefile @@ -20,13 +20,16 @@ help: @echo " dev-install Will install the dev dependencies too." @echo " run Runs GPT Engineer on the folder with the given name." -dev-install: create-venv install-dependencies install-pre-commit farewell +dev-install: create-venv upgrade-pip install-dependencies install-pre-commit farewell -install: create-venv install-dependencies farewell +install: create-venv upgrade-pip install-dependencies farewell create-venv: @echo -e "$(COLOR_CYAN)Creating virtual environment...$(COLOR_RESET)" && \ - python -m venv venv && \ + python -m venv venv + +upgrade-pip: + @echo -e "$(COLOR_CYAN)Upgrading pip...$(COLOR_RESET)" && \ source venv/bin/activate && \ pip install --upgrade pip >> /dev/null @@ -47,3 +50,4 @@ run: @echo -e "$(COLOR_CYAN)Running GPT Engineer on $(COLOR_GREEN)$(name)$(COLOR_CYAN) folder...$(COLOR_RESET)" && \ source venv/bin/activate && \ python -m gpt_engineer.main $(name) +