From 256f2e6a1d4d357f9a3f2b2a932134576f6e2307 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Sat, 1 Mar 2025 15:57:32 -0500 Subject: [PATCH] modified: Makefile --- Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 133cfbd..d460daa 100644 --- a/Makefile +++ b/Makefile @@ -62,14 +62,15 @@ install: install-core install-dev install-themes # ----------------------------------------------------------------------------- # Install remarkbox from source (editable mode) plus dev, test, and themes -install-source: venv +install-source-dev-and-test: venv install-themes @echo "Installing remarkbox from source (editable mode)..." $(PIP) install --editable . $(PIP) install --upgrade -r requirements-dev.txt $(PIP) install --upgrade -r requirements-test.txt - @echo "Installing optional themes from Git..." - $(PIP) install git+https://git.unturf.com/engineering/remarkbox/remarkbox-theme-meta.git - $(PIP) install git+https://git.unturf.com/engineering/remarkbox/remarkbox-westworld.git + +install-source: venv install-themes + @echo "Installing remarkbox from source (editable mode)..." + $(PIP) install --editable . # ----------------------------------------------------------------------------- # Database Initialization and Server Targets @@ -106,15 +107,13 @@ activate: @echo " source $(VENV_DIR)/bin/activate" # Production target: install production packages and requirements from PyPI -prod: venv +prod: venv install-themes @echo "Installing production packages..." $(PIP) install . $(PIP) install --upgrade -r requirements-prod.txt # Run the test suite (installs test dependencies if needed) -test: venv - @echo "Installing test dependencies..." - $(PIP) install --upgrade -r requirements-test.txt +test: install-source-dev-and-test @echo "Running tests..." $(VENV_DIR)/bin/py.test