1
0
Fork 0
docker-easy-haproxy/Makefile
Joao Gilberto Magalhaes 55d0d1a105 Modernizing PyThon Projec
2026-01-22 20:14:22 -05:00

21 lines
386 B
Makefile

VERSION := $(shell git rev-parse --short HEAD)
.PHONY: build
build:
docker build -t byjg/easy-haproxy --build-arg RELEASE_VERSION_ARG="$(VERSION)" -t byjg/easy-haproxy:local -f build/Dockerfile .
.PHONY: test
test:
uv run pytest tests/ -vv
.PHONY: sync
sync:
uv sync --dev
.PHONY: lint
lint:
uv run ruff check src/ tests/
.PHONY: format
format:
uv run ruff format src/ tests/