From de672029eff7238afe36f0547866cff6187afdbc Mon Sep 17 00:00:00 2001 From: RaGe Date: Mon, 15 Apr 2024 16:00:25 -0400 Subject: [PATCH] Add build-frontend to build (#1137) --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 26bcc614d4..1c516c530d 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,7 @@ build: @$(MAKE) -s install-python-dependencies @$(MAKE) -s install-frontend-dependencies @$(MAKE) -s install-precommit-hooks + @$(MAKE) -s build-frontend @echo "$(GREEN)Build completed successfully.$(RESET)" check-dependencies: @@ -105,6 +106,10 @@ install-precommit-hooks: @poetry run pre-commit install --config $(PRECOMMIT_CONFIG_PATH) @echo "$(GREEN)Pre-commit hooks installed successfully.$(RESET)" +build-frontend: + @echo "$(YELLOW)Building frontend...$(RESET)" + @cd frontend && npm run build + # Start backend start-backend: @echo "$(YELLOW)Starting backend...$(RESET)"