Files
s5p/Makefile
user a741c0a017
All checks were successful
ci / secrets (push) Successful in 9s
ci / test (push) Successful in 20s
ci / build (push) Successful in 15s
feat: v0.3.0 stabilization -- systemd, tests, API docs
- Bump version 0.1.0 -> 0.3.0
- Add systemd service unit (config/s5p.service) and install-service
  Makefile target
- Add CLI argument parsing tests (tests/test_cli.py, 27 tests)
- Expand protocol tests with SOCKS5/4/HTTP handshake, error, and auth
  coverage (tests/test_proto.py, 30 tests)
- Add full API reference to docs/USAGE.md with response schemas for
  all GET/POST endpoints
- Update INSTALL.md, CHEATSHEET.md with systemd section
- Update ROADMAP.md, TASKS.md for v0.3.0
2026-02-21 18:35:51 +01:00

36 lines
615 B
Makefile

APP_NAME := s5p
.PHONY: install install-service test lint clean build up down logs
install:
pip install -e .
install-service:
sudo mkdir -p /etc/s5p
sudo cp config/s5p.service /etc/systemd/system/s5p.service
sudo systemctl daemon-reload
@echo "Unit installed. Configure /etc/s5p/s5p.yaml, then:"
@echo " sudo systemctl enable --now s5p"
test:
pytest tests/ -v
lint:
ruff check src/ tests/
clean:
rm -rf build/ dist/ src/*.egg-info
find . -type d -name __pycache__ -exec rm -rf {} +
build:
podman-compose build
up:
podman-compose up -d
down:
podman-compose down
logs:
podman-compose logs -f