early optimization is the death by 1,000 cuts.

modified:   .gitlab-ci.yml
	modified:   Makefile
This commit is contained in:
Russell Ballestrini 2025-03-03 10:53:17 -05:00
parent 08bb45691f
commit 2746258ddb
2 changed files with 2 additions and 9 deletions

View file

@ -10,10 +10,6 @@ test:
except:
- tags
script: make test
artifacts:
paths:
- env.vanilla
expire_in: 1 hour
build:
stage: build
@ -21,7 +17,6 @@ build:
except:
- tags
script:
- mv env.vanilla env
- make install-source-prod
# Copy static assets to env/static and create a tarball of the static files.
- cp -pr make_post_sell/static env/static

View file

@ -62,14 +62,12 @@ install-source-dev-and-test: venv
$(PIP) install --editable .
$(PIP) install --upgrade -r requirements-dev.txt
$(PIP) install --upgrade -r requirements-test.txt
cp -rp $(VENV_DIR) $(VENV_DIR).vanilla
# Install from source for production (non‑editable).
install-source-prod: venv
@echo "Installing make_post_sell from source for production (non‑editable)..."
$(PIP) install .
$(PIP) install --upgrade -r requirements-prod.txt
cp -rp $(VENV_DIR) $(VENV_DIR).vanilla
# -----------------------------------------------------------------------------
# Database Initialization and Server Targets
@ -124,5 +122,5 @@ http: venv
# Remove the virtual environment directories.
clean:
@echo "Cleaning up: removing $(VENV_DIR) and $(VENV_DIR).vanilla..."
rm -rf $(VENV_DIR) $(VENV_DIR).vanilla
@echo "Cleaning up: removing $(VENV_DIR)"
rm -rf $(VENV_DIR)