-
-
Notifications
You must be signed in to change notification settings - Fork 267
Expand file tree
/
Copy pathJustfile
More file actions
28 lines (24 loc) · 739 Bytes
/
Justfile
File metadata and controls
28 lines (24 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# List available targets.
default:
@just --list
# Create a Python virtual environment using uv.
venv python="":
{{ if python == "" { "uv venv" } else { "uv venv --python " + python } }}
# Install mod_wsgi in development mode.
install: venv
uv pip install -e . --no-cache
# Clean up build artifacts, virtual environment, and test directories.
clean:
rm -rf .venv
rm -rf build
rm -rf dist
rm -rf *.egg-info
rm -rf httpd-test
rm -rf __pycache__
rm -rf src/__pycache__
rm -rf src/server/__pycache__
rm -f src/server/*.so
rm -f src/server/apxs_config.py
# Run test builds across all supported Python versions.
test-versions *versions:
./scripts/test-python-versions.sh {{ versions }}