From 06ce617f0a031bd6adeeaa3e34484344bc241c6b Mon Sep 17 00:00:00 2001 From: Carlo Costino Date: Mon, 14 Apr 2025 16:17:35 -0400 Subject: [PATCH] Create new command instead of trying to be fancy Signed-off-by: Carlo Costino --- Makefile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d1ac2d2d0..30eed146d 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,20 @@ NVMSH := $(shell [ -f "$(HOME)/.nvm/nvm.sh" ] && echo "$(HOME)/.nvm/nvm.sh" || e ## DEVELOPMENT .PHONY: bootstrap -bootstrap: generate-version-file ## Set up everything to run the app +bootstrap: ## Set up everything to run the app + make generate-version-file + poetry self add poetry-dotenv-plugin + poetry lock --no-update + poetry install --sync --no-root + poetry run playwright install --with-deps + poetry run pre-commit install + source $(NVMSH) --no-use && nvm install && npm install + source $(NVMSH) && npm ci --no-audit + source $(NVMSH) && npm run build + +.PHONY: bootstrap-with-git-hooks +bootstrap-with-git-hooks: ## Sets everything up and accounts for pre-existing git hooks + make generate-version-file poetry self add poetry-dotenv-plugin poetry lock --no-update poetry install --sync --no-root